Skip to content

Commit

Permalink
Ensure CMake can be invoked on Windows (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed May 16, 2024
1 parent af905c7 commit 93373d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmakebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function runCmake (opts, target, cb) {
}
}

var proc = spawn(cmakeJsPath, args)
var proc = spawn(cmakeJsPath, args, process.platform === 'win32' ? { shell: true } : undefined)
proc.stdout.pipe(process.stdout)
proc.stderr.pipe(process.stderr)
proc.on('exit', function (code) {
Expand Down

0 comments on commit 93373d0

Please sign in to comment.