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 b59f61b commit a80b6e9Copy full SHA for a80b6e9
src/parser/extension.js
@@ -114,7 +114,7 @@ export default class Extension {
114
const makeDefaultAction = main => {
115
return async ({ __argv, cmd }) => {
116
process.argv = [
117
- process.execPath,
+ 'node',
118
main
119
];
120
test/examples/run-node/run.js
@@ -2,6 +2,6 @@ import CLI from '../../../src/index.js';
2
3
new CLI({
4
extensions: {
5
- run: `"${process.execPath}" -e`
+ run: 'node -e'
6
}
7
}).exec();
0 commit comments