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

Using cross-spawn as a drop-in for child_process #32

Merged
merged 1 commit into from
May 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"purescript"
],
"dependencies": {
"cross-spawn": "^0.4.0",
"glob": "^5.0.5",
"gulp-util": "^3.0.4",
"logalot": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/ChildProcess.purs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down