BuildDocsReferenceGuidesBlogDiscordnode:child_processChildProcesspidBuildDocsReferenceGuidesBlogDiscordnode:child_processChildProcesspidchild_process.ChildProcess.pidpidReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
ChildProcess.pid property | Node.js child_process module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Returns the process identifier (PID) of the child process. If the child process
fails to spawn due to errors, then the value is `undefined` and `error` is
emitted.
```js
import { spawn } from