Commit 65b5ccc
test: fix spawn on windows
Most Windows systems do not have an external `echo` program installed,
so any attempts to spawn `echo` as a child process will fail with
`ENOENT`. This commit forces the use of the built-in `echo` provided
by `cmd.exe`.
PR-URL: #7049
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 96ed883 commit 65b5cccCopy full SHA for 65b5ccc
File tree
Expand file treeCollapse file tree
1 file changed
+6
-2
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+6
-2
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-flush-stdio.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-flush-stdio.js+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
7 | 11 | |
8 | 12 | |
9 | 13 | |
| ||
15 | 19 | |
16 | 20 | |
17 | 21 | |
18 | | - |
| 22 | + |
19 | 23 | |
20 | 24 | |
21 | 25 | |
|
0 commit comments