summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorMyles Borins <myles.borins@gmail.com>2016-12-21 14:14:16 -0500
committerMyles Borins <mylesborins@google.com>2017-01-31 17:07:47 -0500
commit59aa4e9e2956b585c2a5aaaa578f9e2ed9808e64 (patch)
treefd97f57a56edb5c074785de450e7112ad26f6df1 /doc/api/child_process.md
parent12d86aba49ebe7bf2995ebd2a2c3b69045b1cddf (diff)
downloadnode-new-59aa4e9e2956b585c2a5aaaa578f9e2ed9808e64.tar.gz
doc: consistent 'Returns:' part two
Follow up from 8eb19c4. Lower case `return` was not updated PR-URL: https://github.com/nodejs/node/pull/10391 Ref: https://github.com/nodejs/node/pull/9554 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Julian Duque <julianduquej@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 02f6a057e7..4433e14ddc 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -318,7 +318,7 @@ added: v0.1.90
`'/bin/sh'` on UNIX, and `'cmd.exe'` on Windows. A different shell can be
specified as a string. The shell should understand the `-c` switch on UNIX,
or `/s /c` on Windows. Defaults to `false` (no shell).
-* return: {ChildProcess}
+* Returns: {ChildProcess}
The `child_process.spawn()` method spawns a new process using the given
`command`, with command line arguments in `args`. If omitted, `args` defaults
@@ -588,7 +588,7 @@ added: v0.11.12
* [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on
stdout or stderr - if exceeded child process is killed
* `encoding` {String} The encoding used for all stdio inputs and outputs. (Default: `'buffer'`)
-* return: {Buffer|String} The stdout from the command
+* Returns: {Buffer|String} The stdout from the command
The `child_process.execFileSync()` method is generally identical to
[`child_process.execFile()`][] with the exception that the method will not return
@@ -631,7 +631,7 @@ added: v0.11.12
stdout or stderr - if exceeded child process is killed
* `encoding` {String} The encoding used for all stdio inputs and outputs.
(Default: `'buffer'`)
-* return: {Buffer|String} The stdout from the command
+* Returns: {Buffer|String} The stdout from the command
The `child_process.execSync()` method is generally identical to
[`child_process.exec()`][] with the exception that the method will not return until
@@ -673,7 +673,7 @@ added: v0.11.12
`'/bin/sh'` on UNIX, and `'cmd.exe'` on Windows. A different shell can be
specified as a string. The shell should understand the `-c` switch on UNIX,
or `/s /c` on Windows. Defaults to `false` (no shell).
-* return: {Object}
+* Returns: {Object}
* `pid` {Number} Pid of the child process
* `output` {Array} Array of results from stdio output
* `stdout` {Buffer|String} The contents of `output[1]`