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 <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
  • Loading branch information
cjihrig authored and codebytere committed Mar 17, 2020
1 parent 8f88d62 commit c7f03ad
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 c7f03ad

Please sign in to comment.