Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Bun.spawn()
stderr
"pipe"
const proc = Bun.spawn(["echo", "hello"], { stderr: "pipe", }); proc.stderr; // => ReadableStream
.text()
const proc = Bun.spawn(["echo", "hello"], { stderr: "pipe", }); const errors: string = await proc.stderr.text(); if (errors) { // 处理错误 }