Skip to content

Commit 9e25028

Browse files
thw0rtedrvagg
authored andcommitted
doc: add missing option for child_process.spawnSync()
PR-URL: #22231 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 82e71dd commit 9e25028

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/child_process.md

+2
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,8 @@ changes:
812812
* `cwd` {string} Current working directory of the child process.
813813
* `input` {string|Buffer|Uint8Array} The value which will be passed as stdin
814814
to the spawned process. Supplying this value will override `stdio[0]`.
815+
* `argv0` {string} Explicitly set the value of `argv[0]` sent to the child
816+
process. This will be set to `command` if not specified.
815817
* `stdio` {string|Array} Child's stdio configuration.
816818
* `env` {Object} Environment key-value pairs.
817819
* `uid` {number} Sets the user identity of the process (see setuid(2)).

0 commit comments

Comments
 (0)