diff --git a/package.json b/package.json index 0329a2c..4128188 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "purescript" ], "dependencies": { + "cross-spawn": "^0.4.0", "glob": "^5.0.5", "gulp-util": "^3.0.4", "logalot": "^2.1.0", diff --git a/src/ChildProcess.purs b/src/ChildProcess.purs index a8f1656..1c97c85 100644 --- a/src/ChildProcess.purs +++ b/src/ChildProcess.purs @@ -17,7 +17,7 @@ spawn command args = makeAff $ runFn4 spawnFn command args foreign import spawnFn """ function spawnFn(command, args, errback, callback) { return function(){ - var child_process = require('child_process'); + var child_process = require('cross-spawn'); var process = child_process.spawn(command, args);