We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a02b23 commit e6a70edCopy full SHA for e6a70ed
1 file changed
browser/model/cygwin.js
@@ -75,7 +75,7 @@ class CygwinInstall extends InstallableItem {
75
if(fs.existsSync(localPackages)) {
76
cygwinArgs = cygwinArgs + ` -L -l ${localPackages}`;
77
}
78
- let startProcess = `$p = Start-Process -ErrorAction stop -WindowStyle hidden -PassThru -wait -FilePath '${originalExecFileEscaped}' -ArgumentList '${cygwinArgs}'; exit $p.ExitCode;`;
+ let startProcess = `$p = Start-Process -ErrorAction stop -WindowStyle hidden -PassThru -wait -FilePath '${originalExecFileEscaped}' -ArgumentList '${cygwinArgs}'; ;[Environment]::Exit($p.ExitCode);`;
79
let powershellCommand = `powershell -Command "${startProcess}"`;
80
81
return installer.copyFile(
0 commit comments