Skip to content

Commit 57bd715

Browse files
committed
doc: fix several child_process doc typos
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]>
1 parent 85592e2 commit 57bd715

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/child_process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ added: v0.1.90
983983
The `'exit'` event is emitted after the child process ends. If the process
984984
exited, `code` is the final exit code of the process, otherwise `null`. If the
985985
process terminated due to receipt of a signal, `signal` is the string name of
986-
the signal, otherwise `null`. One of the two will always be non-null.
986+
the signal, otherwise `null`. One of the two will always be non-`null`.
987987

988988
When the `'exit'` event is triggered, child process stdio streams might still be
989989
open.
@@ -1079,8 +1079,8 @@ within the child process to close the IPC channel as well.
10791079

10801080
* {integer}
10811081

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

10851085
### `subprocess.kill([signal])`
10861086
<!-- YAML
@@ -1380,7 +1380,7 @@ time it takes to send the connection to the child.
13801380
* {integer}
13811381

13821382
The `subprocess.signalCode` property indicates the signal number received by
1383-
the child process if any, else null.
1383+
the child process if any, else `null`.
13841384

13851385
### `subprocess.spawnargs`
13861386

0 commit comments

Comments
 (0)