Commit 627ecee
child_process: support Uint8Array input to methods
Support `Uint8Array` input to all the synchronous methods.
PR-URL: #10653
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michal Zasso <targos@protonmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent db14687 commit 627eceeCopy full SHA for 627ecee
File tree
Expand file treeCollapse file tree
4 files changed
+24
-12
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- internal
- test/parallel
Expand file treeCollapse file tree
4 files changed
+24
-12
lines changedOpen diff view settings
Collapse file
+6-6Lines changed: 6 additions & 6 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
580 | 580 | |
581 | 581 | |
582 | 582 | |
583 | | - |
584 | | - |
| 583 | + |
| 584 | + |
585 | 585 | |
586 | 586 | |
587 | 587 | |
| ||
618 | 618 | |
619 | 619 | |
620 | 620 | |
621 | | - |
622 | | - |
| 621 | + |
| 622 | + |
623 | 623 | |
624 | 624 | |
625 | 625 | |
| ||
666 | 666 | |
667 | 667 | |
668 | 668 | |
669 | | - |
670 | | - |
| 669 | + |
| 670 | + |
671 | 671 | |
672 | 672 | |
673 | 673 | |
|
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
| ||
503 | 504 | |
504 | 505 | |
505 | 506 | |
506 | | - |
| 507 | + |
507 | 508 | |
508 | 509 | |
509 | 510 | |
510 | 511 | |
511 | 512 | |
512 | | - |
| 513 | + |
513 | 514 | |
514 | 515 | |
515 | 516 | |
|
Collapse file
lib/internal/child_process.js
Copy file name to clipboardExpand all lines: lib/internal/child_process.js+4-3Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | 5 | |
7 | 6 | |
| ||
17 | 16 | |
18 | 17 | |
19 | 18 | |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
| ||
847 | 847 | |
848 | 848 | |
849 | 849 | |
850 | | - |
| 850 | + |
851 | 851 | |
852 | 852 | |
853 | | - |
| 853 | + |
| 854 | + |
854 | 855 | |
855 | 856 | |
856 | 857 | |
|
Collapse file
test/parallel/test-child-process-spawnsync-input.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-spawnsync-input.js+11-1Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | 62 | |
63 | 63 | |
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
83 | 93 | |
84 | 94 | |
85 | 95 | |
|
0 commit comments