File SystemProcessRead stderr from a child processWhen you spawn a child process with Bun.spawn() , it inherits the stderr of the spawning process. To read and handle stderr instead, set the stderr option toCopy MarkdownOpenListen to OS signalsBun supports the Node.js process global, including the process.on() method for listening to OS signals.Read stdout from a child processWhen you spawn a child process with Bun.spawn() , proc.stdout is a ReadableStream of the child's stdout .