温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/Spawn/SpawnSyncOptions/stdio
点击访问原文链接

property stdio | Bun module | Bun

property stdio | Bun module | BunBuildDocsReferenceGuidesBlogDiscord/Bun/Spawn/SpawnSyncOptions/stdioPstdio

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Bun/Spawn/SpawnSyncOptions/stdioPstdio

property

Spawn.SpawnSyncOptions.stdiostdio?: [In, Out, Err, ...Readable[]]

The standard file descriptors of the process, in the form [stdin, stdout, stderr]. This overrides the stdin, stdout, and stderr properties.

For stdin you may pass:

"ignore", null, undefined: The process will have no standard input (default)"pipe": The process will have a new FileSink for standard input"inherit": The process will inherit the standard input of the current processArrayBufferView, Blob, Bun.file(), Response, Request: The process will read from buffer/stream.number: The process will read from the file descriptor

For stdout and stdin you may pass:

"pipe", undefined: The process will have a ReadableStream for standard output/error"ignore", null: The process will have no standard output/error"inherit": The process will inherit the standard output/error of the current processArrayBufferView: The process write to the preallocated buffer. Not implemented.number: The process will write to the file descriptor

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property stdio | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    The standard file descriptors of the process, in the form [stdin, stdout, stderr]. This overrides the `stdin`, `stdout`, and `stderr` properties. For stdin you may pass: - `