Skip to content

Commit 8c31c0a

Browse files
committed
fix*yarnpkg-cli): properly handle missing physicalPath in runBinary
1 parent ea42c48 commit 8c31c0a

File tree

1 file changed

+1
-1
lines changed
  • packages/yarnpkg-cli/sources

1 file changed

+1
-1
lines changed

packages/yarnpkg-cli/sources/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function runBinary(path: PortablePath) {
2525
},
2626
});
2727
} else {
28-
execFileSync(physicalPath, process.argv.slice(2), {
28+
execFileSync(process.execPath, process.argv.slice(2), {
2929
stdio: `inherit`,
3030
env: {
3131
...process.env,

0 commit comments

Comments
 (0)