From 7a12bc8c137bc865d4c599989a34c796d81277a7 Mon Sep 17 00:00:00 2001 From: James Bromwell Date: Fri, 10 Aug 2018 15:07:37 +0200 Subject: [PATCH] doc: add missing argv0 option for child_process.spawnSync --- 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 a2e6bb5365cfb3..34118dc17f5f1d 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -829,6 +829,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)).