fix: Error: spawn EINVAL on Windows. (#1092)
After `21.7.3`, `20.12.2` and `18.20.2`, the Error: spawn EINVAL started occurring, so I have fixed it.
This commit is contained in:
@@ -209,6 +209,7 @@ export class NexeCompiler {
|
||||
spawn(command, args, {
|
||||
cwd: this.src,
|
||||
env: this.env,
|
||||
shell: true,
|
||||
stdio: this.log.verbose ? 'inherit' : 'ignore',
|
||||
})
|
||||
.once('error', (e: Error) => {
|
||||
|
||||
Reference in New Issue
Block a user