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 56f1f60 commit db21cb3Copy full SHA for db21cb3
test/parallel/test-cli-node-print-help.js
@@ -57,7 +57,7 @@ startPrintHelpTest();
57
58
// Test closed stdout for `node --help`. Like `node --help | head -n5`.
59
(async () => {
60
- const cp = spawn('node', ['--help'], {
+ const cp = spawn(process.execPath, ['--help'], {
61
stdio: ['inherit', 'pipe', 'inherit'],
62
});
63
cp.stdout.destroy();
0 commit comments