Skip to main content
Use Bun.spawn() to spawn a child process.

The second argument is a configuration object.

By default, proc.stdout is a ReadableStream of the child process’s stdout.

See Child processes.