Skip to content

Commit

Permalink
Update doc/api/child_process.md
Browse files Browse the repository at this point in the history
Co-authored-by: Rich Trott <[email protected]>
  • Loading branch information
dr-js and Trott authored Jan 25, 2021
1 parent 01fe674 commit 9933250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1256,8 +1256,8 @@ added: v0.1.90
* {integer}

Returns the process identifier (PID) of the child process. If the child process
failed to spawn due to errors like command not found (`ENOENT`), the value will
be `undefined`, and `error` should emit on next tick.
fails to spawn due to errors like command not found (`ENOENT`), then the value
is `undefined` and `error` should emit on next tick.

```js
const { spawn } = require('child_process');
Expand Down

0 comments on commit 9933250

Please sign in to comment.