使用Documentation Index
Fetch the complete documentation index at: https://bun.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
Bun.spawn() 时,可以通过 proc.stdout 将子进程的标准输出作为 ReadableStream 来消费。
如果想将子进程的标准输出直接重定向到父进程的标准输出,可以设置为 “inherit”。
完整文档请参见 文档 > API > 子进程。