mirror of https://github.com/nodejs/node.git
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>pull/22283/head
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)).
|
||||
|
|
Loading…
Reference in New Issue