8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1996198 commit f4e9bd6Copy full SHA for f4e9bd6
test/parallel/test-child-process-exec-any-shells-windows.js
@@ -23,10 +23,10 @@ const test = (shell) => {
23
}));
24
};
25
const testCopy = (shellName, shellPath) => {
26
- // Copy the executable to a path with spaces, to ensure there are no issues
+ // Symlink the executable to a path with spaces, to ensure there are no issues
27
// related to quoting of argv0
28
const copyPath = `${tmpPath}\\${shellName}`;
29
- fs.copyFileSync(shellPath, copyPath);
+ fs.symlinkSync(shellPath, copyPath);
30
test(copyPath);
31
32