Skip to content

Commit

Permalink
fix(cli): Fix the cmakeargs for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexDrinkwater committed Mar 21, 2023
1 parent ec5b5ab commit f282a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itk-wasm-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function build(options) {
}
if(process.platform === "win32"){
var dockerBuild = spawnSync('"C:\\Program Files\\Git\\bin\\sh.exe"',
["--login", "-i", "-c", `"${buildDir}/itk-wasm-build-env web-build ${buildDir} ` + cmakeArgs + '"'], {
["--login", "-i", "-c", `"${buildDir}/itk-wasm-build-env web-build ${buildDir} ` + cmakeArgs.join(' ') + '"'], {
env: process.env,
stdio: 'inherit',
shell: true
Expand Down

0 comments on commit f282a5c

Please sign in to comment.