@@ -146,6 +146,10 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
146
146
<!-- YAML
147
147
added: v0.1.90
148
148
changes:
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.
149
153
- version: v15.4.0
150
154
pr-url: https://github.com/nodejs/node/pull/36308
151
155
description: AbortSignal support was added.
@@ -156,7 +160,7 @@ changes:
156
160
157
161
* ` command ` {string} The command to run, with space-separated arguments.
158
162
* ` options ` {Object}
159
- * ` cwd ` {string} Current working directory of the child process.
163
+ * ` cwd ` {string|URL } Current working directory of the child process.
160
164
** Default:** ` process.cwd() ` .
161
165
* ` env ` {Object} Environment key-value pairs. ** Default:** ` process.env ` .
162
166
* ` encoding ` {string} ** Default:** ` 'utf8' `
@@ -271,6 +275,10 @@ controller.abort();
271
275
<!-- YAML
272
276
added: v0.1.91
273
277
changes:
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.
274
282
- version:
275
283
- v15.4.0
276
284
- v14.17.0
@@ -284,7 +292,7 @@ changes:
284
292
* ` file ` {string} The name or path of the executable file to run.
285
293
* ` args ` {string[ ] } List of string arguments.
286
294
* ` options ` {Object}
287
- * ` cwd ` {string} Current working directory of the child process.
295
+ * ` cwd ` {string|URL } Current working directory of the child process.
288
296
* ` env ` {Object} Environment key-value pairs. ** Default:** ` process.env ` .
289
297
* ` encoding ` {string} ** Default:** ` 'utf8' `
290
298
* ` timeout ` {number} ** Default:** ` 0 `
@@ -376,6 +384,10 @@ controller.abort();
376
384
<!-- YAML
377
385
added: v0.5.0
378
386
changes:
387
+ - version: REPLACEME
388
+ pr-url: https://github.com/nodejs/node/pull/38862
389
+ description: The `cwd` option can be a WHATWG `URL` object using
390
+ `file:` protocol.
379
391
- version: v15.13.0
380
392
pr-url: https://github.com/nodejs/node/pull/37256
381
393
description: timeout was added.
@@ -403,7 +415,7 @@ changes:
403
415
* ` modulePath ` {string} The module to run in the child.
404
416
* ` args ` {string[ ] } List of string arguments.
405
417
* ` options ` {Object}
406
- * ` cwd ` {string} Current working directory of the child process.
418
+ * ` cwd ` {string|URL } Current working directory of the child process.
407
419
* ` detached ` {boolean} Prepare child to run independently of its parent
408
420
process. Specific behavior depends on the platform, see
409
421
[ ` options.detached ` ] [ ] ).
@@ -487,6 +499,10 @@ if (process.argv[2] === 'child') {
487
499
<!-- YAML
488
500
added: v0.1.90
489
501
changes:
502
+ - version: REPLACEME
503
+ pr-url: https://github.com/nodejs/node/pull/38862
504
+ description: The `cwd` option can be a WHATWG `URL` object using
505
+ `file:` protocol.
490
506
- version: v15.13.0
491
507
pr-url: https://github.com/nodejs/node/pull/37256
492
508
description: timeout was added.
@@ -517,7 +533,7 @@ changes:
517
533
* ` command ` {string} The command to run.
518
534
* ` args ` {string[ ] } List of string arguments.
519
535
* ` options ` {Object}
520
- * ` cwd ` {string} Current working directory of the child process.
536
+ * ` cwd ` {string|URL } Current working directory of the child process.
521
537
* ` env ` {Object} Environment key-value pairs. ** Default:** ` process.env ` .
522
538
* ` argv0 ` {string} Explicitly set the value of ` argv[0] ` sent to the child
523
539
process. This will be set to ` command ` if not specified.
@@ -845,6 +861,10 @@ configuration at startup.
845
861
<!-- YAML
846
862
added: v0.11.12
847
863
changes:
864
+ - version: REPLACEME
865
+ pr-url: https://github.com/nodejs/node/pull/38862
866
+ description: The `cwd` option can be a WHATWG `URL` object using
867
+ `file:` protocol.
848
868
- version: v10.10.0
849
869
pr-url: https://github.com/nodejs/node/pull/22409
850
870
description: The `input` option can now be any `TypedArray` or a
@@ -865,7 +885,7 @@ changes:
865
885
* ` file ` {string} The name or path of the executable file to run.
866
886
* ` args ` {string[ ] } List of string arguments.
867
887
* ` options ` {Object}
868
- * ` cwd ` {string} Current working directory of the child process.
888
+ * ` cwd ` {string|URL } Current working directory of the child process.
869
889
* ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
870
890
as stdin to the spawned process. Supplying this value will override
871
891
` stdio[0] ` .
@@ -914,6 +934,10 @@ arbitrary command execution.**
914
934
<!-- YAML
915
935
added: v0.11.12
916
936
changes:
937
+ - version: REPLACEME
938
+ pr-url: https://github.com/nodejs/node/pull/38862
939
+ description: The `cwd` option can be a WHATWG `URL` object using
940
+ `file:` protocol.
917
941
- version: v10.10.0
918
942
pr-url: https://github.com/nodejs/node/pull/22409
919
943
description: The `input` option can now be any `TypedArray` or a
@@ -928,7 +952,7 @@ changes:
928
952
929
953
* ` command ` {string} The command to run.
930
954
* ` options ` {Object}
931
- * ` cwd ` {string} Current working directory of the child process.
955
+ * ` cwd ` {string|URL } Current working directory of the child process.
932
956
* ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
933
957
as stdin to the spawned process. Supplying this value will override
934
958
` stdio[0] ` .
@@ -974,6 +998,10 @@ metacharacters may be used to trigger arbitrary command execution.**
974
998
<!-- YAML
975
999
added: v0.11.12
976
1000
changes:
1001
+ - version: REPLACEME
1002
+ pr-url: https://github.com/nodejs/node/pull/38862
1003
+ description: The `cwd` option can be a WHATWG `URL` object using
1004
+ `file:` protocol.
977
1005
- version: v10.10.0
978
1006
pr-url: https://github.com/nodejs/node/pull/22409
979
1007
description: The `input` option can now be any `TypedArray` or a
@@ -997,7 +1025,7 @@ changes:
997
1025
* ` command ` {string} The command to run.
998
1026
* ` args ` {string[ ] } List of string arguments.
999
1027
* ` options ` {Object}
1000
- * ` cwd ` {string} Current working directory of the child process.
1028
+ * ` cwd ` {string|URL } Current working directory of the child process.
1001
1029
* ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
1002
1030
as stdin to the spawned process. Supplying this value will override
1003
1031
` stdio[0] ` .
0 commit comments