Skip to content

Commit 53e0be5

Browse files
committed
Add missing 'fork' implementation
1 parent 1b5ccea commit 53e0be5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Node/ChildProcess.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ exports.execImpl = function execImpl(command) {
3232
};
3333
};
3434
};
35+
exports.fork = function fork(cmd) {
36+
return function(args) {
37+
return function() {
38+
return require("child_process").fork(cmd, args);
39+
};
40+
};
41+
};
3542
exports.mkOnExit = function mkOnExit(mkChildExit){
3643
return function onExit(cp){
3744
return function(cb){

0 commit comments

Comments
 (0)