Skip to content

Commit

Permalink
doc: fix several child_process doc typos
Browse files Browse the repository at this point in the history
PR-URL: #31393
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
  • Loading branch information
cjihrig authored and codebytere committed Feb 17, 2020
1 parent b8face2 commit 843c5c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ added: v0.1.90
The `'exit'` event is emitted after the child process ends. If the process
exited, `code` is the final exit code of the process, otherwise `null`. If the
process terminated due to receipt of a signal, `signal` is the string name of
the signal, otherwise `null`. One of the two will always be non-null.
the signal, otherwise `null`. One of the two will always be non-`null`.

When the `'exit'` event is triggered, child process stdio streams might still be
open.
Expand Down Expand Up @@ -1059,8 +1059,8 @@ within the child process to close the IPC channel as well.

* {integer}

The `subprocess.exitcode` property indicates the exit code of the child process.
If the child process is still running, the field will be null.
The `subprocess.exitCode` property indicates the exit code of the child process.
If the child process is still running, the field will be `null`.

### `subprocess.kill([signal])`
<!-- YAML
Expand Down Expand Up @@ -1360,7 +1360,7 @@ time it takes to send the connection to the child.
* {integer}

The `subprocess.signalCode` property indicates the signal number received by
the child process if any, else null.
the child process if any, else `null`.

### `subprocess.spawnargs`

Expand Down

0 comments on commit 843c5c6

Please sign in to comment.