summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorJames Bromwell <james.bromwell@gdit.com>2018-08-10 15:07:37 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-08-12 12:43:35 +0300
commit1f32cca6f94838471b4053d591dd8e5499dff5a2 (patch)
tree7a9b1704b5efdcad874b92f2c95066c70acefe8c /doc/api/child_process.md
parent01a160a05de56b8d8037250d28ce1ba4304a036c (diff)
downloadandroid-node-v8-1f32cca6f94838471b4053d591dd8e5499dff5a2.tar.gz
android-node-v8-1f32cca6f94838471b4053d591dd8e5499dff5a2.tar.bz2
android-node-v8-1f32cca6f94838471b4053d591dd8e5499dff5a2.zip
doc: add missing option for child_process.spawnSync()
PR-URL: https://github.com/nodejs/node/pull/22231 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index ee75cbc5f3..de343464a0 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -830,6 +830,8 @@ changes:
* `cwd` {string} Current working directory of the child process.
* `input` {string|Buffer|Uint8Array} The value which will be passed as stdin
to the spawned process. Supplying this value will override `stdio[0]`.
+ * `argv0` {string} Explicitly set the value of `argv[0]` sent to the child
+ process. This will be set to `command` if not specified.
* `stdio` {string|Array} Child's stdio configuration.
* `env` {Object} Environment key-value pairs.
* `uid` {number} Sets the user identity of the process (see setuid(2)).