mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
committed by
Vse Mozhet Byt
parent
01a160a05d
commit
1f32cca6f9
@@ -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)).
|
||||
|
||||
Reference in New Issue
Block a user