Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit a464f0a

Browse files
committed
Merge pull request #33 from purescript-contrib/backport/issue-30
Using cross-spawn as a drop-in for child_process
2 parents e446f12 + 8d99402 commit a464f0a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"purescript"
3030
],
3131
"dependencies": {
32+
"cross-spawn": "^0.4.0",
3233
"gulp-util": "^3.0.4",
3334
"logalot": "^2.1.0",
3435
"minimist": "^1.1.1",

src/ChildProcess.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spawn command args = makeAff $ runFn4 spawnFn command args
1717
foreign import spawnFn """
1818
function spawnFn(command, args, errback, callback) {
1919
return function(){
20-
var child_process = require('child_process');
20+
var child_process = require('cross-spawn');
2121
2222
var process = child_process.spawn(command, args);
2323

0 commit comments

Comments
 (0)