Commit 52aeb2a
test: verify the shell option works properly on execFile
Useful for executing in a shell because it accepts arguments as
an array instead of a string as exec does.
Depending on the circumstances,
that can prove to be useful if the arguments are already prepared.
PR-URL: #18384
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent ffc8e8e commit 52aeb2aCopy full SHA for 52aeb2a
File tree
Expand file treeCollapse file tree
2 files changed
+14
-0
lines changedOpen diff view settings
Filter options
- test
- parallel
- sequential
Expand file treeCollapse file tree
2 files changed
+14
-0
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-execfile.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-execfile.js+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
| 9 | + |
9 | 10 | |
10 | 11 | |
11 | 12 | |
| ||
38 | 39 | |
39 | 40 | |
40 | 41 | |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
Collapse file
test/sequential/test-child-process-execsync.js
Copy file name to clipboardExpand all lines: test/sequential/test-child-process-execsync.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
| 32 | + |
32 | 33 | |
33 | 34 | |
34 | 35 | |
| ||
141 | 142 | |
142 | 143 | |
143 | 144 | |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
0 commit comments