From 9e25028981bb2101689882b3565fb712d2d0bf41 Mon Sep 17 00:00:00 2001 From: James Bromwell Date: Fri, 10 Aug 2018 15:07:37 +0200 Subject: [PATCH] doc: add missing option for child_process.spawnSync() PR-URL: https://github.com/nodejs/node/pull/22231 Reviewed-By: Rich Trott Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat --- doc/api/child_process.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 795f581decd2f4..bd646987bf960d 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -812,6 +812,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)).