Skip to content

Commit 1f32cca

Browse files
thw0rtedvsemozhetbyt
authored andcommitted
doc: add missing option for child_process.spawnSync()
PR-URL: #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>
1 parent 01a160a commit 1f32cca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/api/child_process.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,8 @@ changes:
830830
* `cwd` {string} Current working directory of the child process.
831831
* `input` {string|Buffer|Uint8Array} The value which will be passed as stdin
832832
to the spawned process. Supplying this value will override `stdio[0]`.
833+
* `argv0` {string} Explicitly set the value of `argv[0]` sent to the child
834+
process. This will be set to `command` if not specified.
833835
* `stdio` {string|Array} Child's stdio configuration.
834836
* `env` {Object} Environment key-value pairs.
835837
* `uid` {number} Sets the user identity of the process (see setuid(2)).

0 commit comments

Comments
 (0)