@@ -146,6 +146,10 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
146146<!-- YAML
147147added: v0.1.90
148148changes:
149+ - version: REPLACEME
150+ pr-url: https://github.com/nodejs/node/pull/38862
151+ description: The `cwd` option can be a WHATWG `URL` object using
152+ `file:` protocol.
149153 - version: v15.4.0
150154 pr-url: https://github.com/nodejs/node/pull/36308
151155 description: AbortSignal support was added.
@@ -156,7 +160,7 @@ changes:
156160
157161* ` command ` {string} The command to run, with space-separated arguments.
158162* ` options ` {Object}
159- * ` cwd ` {string} Current working directory of the child process.
163+ * ` cwd ` {string|URL } Current working directory of the child process.
160164 ** Default:** ` process.cwd() ` .
161165 * ` env ` {Object} Environment key-value pairs. ** Default:** ` process.env ` .
162166 * ` encoding ` {string} ** Default:** ` 'utf8' `
@@ -271,6 +275,10 @@ controller.abort();
271275<!-- YAML
272276added: v0.1.91
273277changes:
278+ - version: REPLACEME
279+ pr-url: https://github.com/nodejs/node/pull/38862
280+ description: The `cwd` option can be a WHATWG `URL` object using
281+ `file:` protocol.
274282 - version: v15.4.0
275283 pr-url: https://github.com/nodejs/node/pull/36308
276284 description: AbortSignal support was added.
@@ -282,7 +290,7 @@ changes:
282290* ` file ` {string} The name or path of the executable file to run.
283291* ` args ` {string[ ] } List of string arguments.
284292* ` options ` {Object}
285- * ` cwd ` {string} Current working directory of the child process.
293+ * ` cwd ` {string|URL } Current working directory of the child process.
286294 * ` env ` {Object} Environment key-value pairs. ** Default:** ` process.env ` .
287295 * ` encoding ` {string} ** Default:** ` 'utf8' `
288296 * ` timeout ` {number} ** Default:** ` 0 `
@@ -374,6 +382,10 @@ controller.abort();
374382<!-- YAML
375383added: v0.5.0
376384changes:
385+ - version: REPLACEME
386+ pr-url: https://github.com/nodejs/node/pull/38862
387+ description: The `cwd` option can be a WHATWG `URL` object using
388+ `file:` protocol.
377389 - version: v15.13.0
378390 pr-url: https://github.com/nodejs/node/pull/37256
379391 description: timeout was added.
@@ -399,7 +411,7 @@ changes:
399411* ` modulePath ` {string} The module to run in the child.
400412* ` args ` {string[ ] } List of string arguments.
401413* ` options ` {Object}
402- * ` cwd ` {string} Current working directory of the child process.
414+ * ` cwd ` {string|URL } Current working directory of the child process.
403415 * ` detached ` {boolean} Prepare child to run independently of its parent
404416 process. Specific behavior depends on the platform, see
405417 [ ` options.detached ` ] [ ] ).
@@ -483,6 +495,10 @@ if (process.argv[2] === 'child') {
483495<!-- YAML
484496added: v0.1.90
485497changes:
498+ - version: REPLACEME
499+ pr-url: https://github.com/nodejs/node/pull/38862
500+ description: The `cwd` option can be a WHATWG `URL` object using
501+ `file:` protocol.
486502 - version: v15.13.0
487503 pr-url: https://github.com/nodejs/node/pull/37256
488504 description: timeout was added.
@@ -511,7 +527,7 @@ changes:
511527* ` command ` {string} The command to run.
512528* ` args ` {string[ ] } List of string arguments.
513529* ` options ` {Object}
514- * ` cwd ` {string} Current working directory of the child process.
530+ * ` cwd ` {string|URL } Current working directory of the child process.
515531 * ` env ` {Object} Environment key-value pairs. ** Default:** ` process.env ` .
516532 * ` argv0 ` {string} Explicitly set the value of ` argv[0] ` sent to the child
517533 process. This will be set to ` command ` if not specified.
@@ -839,6 +855,10 @@ configuration at startup.
839855<!-- YAML
840856added: v0.11.12
841857changes:
858+ - version: REPLACEME
859+ pr-url: https://github.com/nodejs/node/pull/38862
860+ description: The `cwd` option can be a WHATWG `URL` object using
861+ `file:` protocol.
842862 - version: v10.10.0
843863 pr-url: https://github.com/nodejs/node/pull/22409
844864 description: The `input` option can now be any `TypedArray` or a
@@ -859,7 +879,7 @@ changes:
859879* ` file ` {string} The name or path of the executable file to run.
860880* ` args ` {string[ ] } List of string arguments.
861881* ` options ` {Object}
862- * ` cwd ` {string} Current working directory of the child process.
882+ * ` cwd ` {string|URL } Current working directory of the child process.
863883 * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
864884 as stdin to the spawned process. Supplying this value will override
865885 ` stdio[0] ` .
@@ -908,6 +928,10 @@ arbitrary command execution.**
908928<!-- YAML
909929added: v0.11.12
910930changes:
931+ - version: REPLACEME
932+ pr-url: https://github.com/nodejs/node/pull/38862
933+ description: The `cwd` option can be a WHATWG `URL` object using
934+ `file:` protocol.
911935 - version: v10.10.0
912936 pr-url: https://github.com/nodejs/node/pull/22409
913937 description: The `input` option can now be any `TypedArray` or a
@@ -922,7 +946,7 @@ changes:
922946
923947* ` command ` {string} The command to run.
924948* ` options ` {Object}
925- * ` cwd ` {string} Current working directory of the child process.
949+ * ` cwd ` {string|URL } Current working directory of the child process.
926950 * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
927951 as stdin to the spawned process. Supplying this value will override
928952 ` stdio[0] ` .
@@ -968,6 +992,10 @@ metacharacters may be used to trigger arbitrary command execution.**
968992<!-- YAML
969993added: v0.11.12
970994changes:
995+ - version: REPLACEME
996+ pr-url: https://github.com/nodejs/node/pull/38862
997+ description: The `cwd` option can be a WHATWG `URL` object using
998+ `file:` protocol.
971999 - version: v10.10.0
9721000 pr-url: https://github.com/nodejs/node/pull/22409
9731001 description: The `input` option can now be any `TypedArray` or a
@@ -991,7 +1019,7 @@ changes:
9911019* ` command ` {string} The command to run.
9921020* ` args ` {string[ ] } List of string arguments.
9931021* ` options ` {Object}
994- * ` cwd ` {string} Current working directory of the child process.
1022+ * ` cwd ` {string|URL } Current working directory of the child process.
9951023 * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
9961024 as stdin to the spawned process. Supplying this value will override
9971025 ` stdio[0] ` .
0 commit comments