@@ -679,6 +679,10 @@ configuration at startup.
679
679
<!-- YAML
680
680
added: v0.11.12
681
681
changes:
682
+ - version: REPLACEME
683
+ pr-url: https://github.com/nodejs/node/pull/22409
684
+ description: The `input` option can now be any `TypedArray` or a
685
+ `DataView`.
682
686
- version: v8.8.0
683
687
pr-url: https://github.com/nodejs/node/pull/15380
684
688
description: The `windowsHide` option is supported now.
@@ -694,8 +698,9 @@ changes:
694
698
* ` args ` {string[ ] } List of string arguments.
695
699
* ` options ` {Object}
696
700
* ` cwd ` {string} Current working directory of the child process.
697
- * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
698
- to the spawned process. Supplying this value will override ` stdio[0] ` .
701
+ * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
702
+ as stdin to the spawned process. Supplying this value will override
703
+ ` stdio[0] ` .
699
704
* ` stdio ` {string|Array} Child's stdio configuration. ` stderr ` by default will
700
705
be output to the parent process' stderr unless ` stdio ` is specified.
701
706
** Default:** ` 'pipe' ` .
@@ -741,6 +746,10 @@ arbitrary command execution.**
741
746
<!-- YAML
742
747
added: v0.11.12
743
748
changes:
749
+ - version: REPLACEME
750
+ pr-url: https://github.com/nodejs/node/pull/22409
751
+ description: The `input` option can now be any `TypedArray` or a
752
+ `DataView`.
744
753
- version: v8.8.0
745
754
pr-url: https://github.com/nodejs/node/pull/15380
746
755
description: The `windowsHide` option is supported now.
@@ -752,8 +761,9 @@ changes:
752
761
* ` command ` {string} The command to run.
753
762
* ` options ` {Object}
754
763
* ` cwd ` {string} Current working directory of the child process.
755
- * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
756
- to the spawned process. Supplying this value will override ` stdio[0] ` .
764
+ * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
765
+ as stdin to the spawned process. Supplying this value will override
766
+ ` stdio[0] ` .
757
767
* ` stdio ` {string|Array} Child's stdio configuration. ` stderr ` by default will
758
768
be output to the parent process' stderr unless ` stdio ` is specified.
759
769
** Default:** ` 'pipe' ` .
@@ -795,6 +805,10 @@ metacharacters may be used to trigger arbitrary command execution.**
795
805
<!-- YAML
796
806
added: v0.11.12
797
807
changes:
808
+ - version: REPLACEME
809
+ pr-url: https://github.com/nodejs/node/pull/22409
810
+ description: The `input` option can now be any `TypedArray` or a
811
+ `DataView`.
798
812
- version: v8.8.0
799
813
pr-url: https://github.com/nodejs/node/pull/15380
800
814
description: The `windowsHide` option is supported now.
@@ -813,8 +827,9 @@ changes:
813
827
* ` args ` {string[ ] } List of string arguments.
814
828
* ` options ` {Object}
815
829
* ` cwd ` {string} Current working directory of the child process.
816
- * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
817
- to the spawned process. Supplying this value will override ` stdio[0] ` .
830
+ * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
831
+ as stdin to the spawned process. Supplying this value will override
832
+ ` stdio[0] ` .
818
833
* ` argv0 ` {string} Explicitly set the value of ` argv[0] ` sent to the child
819
834
process. This will be set to ` command ` if not specified.
820
835
* ` stdio ` {string|Array} Child's stdio configuration.
0 commit comments