diff options
author | cjihrig <cjihrig@gmail.com> | 2020-01-17 04:14:18 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2020-01-19 21:12:14 +0300 |
commit | 57bd715d527aba8dae56b975056961b0e429e91e (patch) | |
tree | 255aa79bd90e50358b8ae126148416b1381419a6 /doc/api/child_process.md | |
parent | 85592e281802f82c8e4b211a8e280b481fd65388 (diff) |
doc: fix several child_process doc typos
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r-- | doc/api/child_process.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 5e695a3a510..0a7d65eef4a 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -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. @@ -1079,8 +1079,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 @@ -1380,7 +1380,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` |