The process ID of the child process
property
Subprocess.pid
readonly pid: number
const { pid } = Bun.spawn({ cmd: ["echo", "hello"] });
console.log(pid); // 1234
property
The process ID of the child process
const { pid } = Bun.spawn({ cmd: ["echo", "hello"] });
console.log(pid); // 1234