Return child from execFile
authorRyan Dahl <ry@tinyclouds.org>
Mon, 12 Jul 2010 21:18:09 +0000 (14:18 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 12 Jul 2010 21:18:09 +0000 (14:18 -0700)
lib/child_process.js

index 849f878..b881150 100644 (file)
@@ -82,6 +82,8 @@ exports.execFile = function (file, args /*, options, callback */) {
       if (callback) callback(e, stdout, stderr);
     }
   });
+
+  return child;
 };