fix: EINVAL when spawning cmd files on Windows (#41905)
fix: EINVAL when spawning on Windows Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
91f257044d
commit
eb8ed882b9
5 changed files with 12 additions and 6 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue