Skip to main content
When you spawn a child process with Bun.spawn(), proc.stdout is a ReadableStream of the child’s stdout.

To pipe the child process’s stdout to the parent’s stdout instead, set the stdout option to "inherit".

See Child processes.