@@ -251,6 +251,10 @@ encoding, `Buffer` objects will be passed to the callback instead.
251
251
### child_process.fork(modulePath[ , args] [ , options ] )
252
252
<!-- YAML
253
253
added: v0.5.0
254
+ changes:
255
+ - version: v6.4.0
256
+ pr-url: https://github.com/nodejs/node/pull/7811
257
+ description: The `stdio` option is supported now.
254
258
-->
255
259
256
260
* ` modulePath ` {String} The module to run in the child
@@ -302,6 +306,13 @@ not clone the current process.*
302
306
### child_process.spawn(command[ , args] [ , options ] )
303
307
<!-- YAML
304
308
added: v0.1.90
309
+ changes:
310
+ - version: v6.4.0
311
+ pr-url: https://github.com/nodejs/node/pull/7696
312
+ description: The `argv0` option is supported now.
313
+ - version: v5.7.0
314
+ pr-url: https://github.com/nodejs/node/pull/4598
315
+ description: The `shell` option is supported now.
305
316
-->
306
317
307
318
* ` command ` {String} The command to run
@@ -485,6 +496,10 @@ child.unref();
485
496
#### options.stdio
486
497
<!-- YAML
487
498
added: v0.7.10
499
+ changes:
500
+ - version: v3.3.1
501
+ pr-url: https://github.com/nodejs/node/pull/2727
502
+ description: The value `0` is now accepted as a file descriptor.
488
503
-->
489
504
490
505
The ` options.stdio ` option is used to configure the pipes that are established
@@ -574,6 +589,10 @@ configuration at startup.
574
589
### child_process.execFileSync(file[ , args] [ , options ] )
575
590
<!-- YAML
576
591
added: v0.11.12
592
+ changes:
593
+ - version: v6.2.1, v4.5.0
594
+ pr-url: https://github.com/nodejs/node/pull/6939
595
+ description: The `encoding` option can now explicitly be set to `buffer`.
577
596
-->
578
597
579
598
* ` file ` {String} The name or path of the executable file to run
@@ -660,6 +679,13 @@ execution.**
660
679
### child_process.spawnSync(command[ , args] [ , options ] )
661
680
<!-- YAML
662
681
added: v0.11.12
682
+ changes:
683
+ - version: v6.2.1, v4.5.0
684
+ pr-url: https://github.com/nodejs/node/pull/6939
685
+ description: The `encoding` option can now explicitly be set to `buffer`.
686
+ - version: v5.7.0
687
+ pr-url: https://github.com/nodejs/node/pull/4598
688
+ description: The `shell` option is supported now.
663
689
-->
664
690
665
691
* ` command ` {String} The command to run
@@ -911,6 +937,17 @@ grep.stdin.end();
911
937
### child.send(message[ , sendHandle[ , options]] [ , callback ] )
912
938
<!-- YAML
913
939
added: v0.5.9
940
+ changes:
941
+ - version: v5.8.0
942
+ pr-url: https://github.com/nodejs/node/pull/5283
943
+ description: The `options` parameter, and the `keepOpen` option
944
+ in particular, is supported now.
945
+ - version: v5.0.0
946
+ pr-url: https://github.com/nodejs/node/pull/3516
947
+ description: This method returns a boolean for flow control now.
948
+ - version: v4.0.0
949
+ pr-url: https://github.com/nodejs/node/pull/2620
950
+ description: The `callback` parameter is supported now.
914
951
-->
915
952
916
953
* ` message ` {Object}
0 commit comments