GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc,child_process: `pid` can be `undefined` when `ENOENT` · nodejs/node@a3c564b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • child_process.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1243,9 +1243,11 @@ does not indicate that the child process has been terminated.
12431243
added: v0.1.90
12441244
-->
12451245

1246-
* {integer}
1246+
* {integer|undefined}
12471247

1248-
Returns the process identifier (PID) of the child process.
1248+
Returns the process identifier (PID) of the child process. If the child process
1249+
fails to spawn due to errors, then the value is `undefined` and `error` is
1250+
emitted.
12491251

12501252
```js
12511253
const { spawn } = require('child_process');

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.