Bun.spawn()
to spawn a child process.
The second argument accepts a configuration object.
By default, the
stdout
of the child process can be consumed as a ReadableStream
using proc.stdout
.
See Docs > API > Child processes for complete documentation.