Skip to main content
When using Bun.spawn(), the stdout of the child process can be consumed as a ReadableStream via proc.stdout.

To instead pipe the stdout of the child process to stdout of the parent process, set “inherit”.

See Docs > API > Child processes for complete documentation.