mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
fix: EINVAL when spawning cmd files on Windows (#41893)
fix: EINVAL when spawning on Windows
This commit is contained in:
@@ -11,7 +11,8 @@ if (require.main === module) {
|
||||
env: {
|
||||
...process.env,
|
||||
npm_config_yes: 'true'
|
||||
}
|
||||
},
|
||||
shell: process.platform === 'win32'
|
||||
});
|
||||
|
||||
child.on('exit', code => process.exit(code));
|
||||
|
||||
Reference in New Issue
Block a user