MCPcopy Index your code
hub / github.com/nodejs/node / testCopy

Function testCopy

test/parallel/test-child-process-exec-any-shells-windows.js:25–31  ·  view source on GitHub ↗
(shellName, shellPath)

Source from the content-addressed store, hash-verified

23 }));
24};
25const testCopy = (shellName, shellPath) => {
26 // 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.symlinkSync(shellPath, copyPath);
30 test(copyPath);
31};
32
33const system32 = `${process.env.SystemRoot}\\System32`;
34

Calls 2

testFunction · 0.70
symlinkSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…