cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-6677 Fix superspawn when run under gnode
Date Tue, 13 May 2014 02:32:02 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master 08a606329 -> a6842c5ea


CB-6677 Fix superspawn when run under gnode


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/a6842c5e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/a6842c5e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/a6842c5e

Branch: refs/heads/master
Commit: a6842c5eacf4d3462424aba50ca47ebd7dd7baa4
Parents: 08a6063
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon May 12 22:31:25 2014 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon May 12 22:31:51 2014 -0400

----------------------------------------------------------------------
 src/superspawn.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/a6842c5e/src/superspawn.js
----------------------------------------------------------------------
diff --git a/src/superspawn.js b/src/superspawn.js
index 861e567..0f1783c 100644
--- a/src/superspawn.js
+++ b/src/superspawn.js
@@ -92,7 +92,7 @@ exports.spawn = function(cmd, args, opts) {
     if (opts.stdio == 'ignore') {
         spawnOpts.stdio = 'ignore';
     } else if (pipeOutput) {
-        spawnOpts.stdio = ['inherit', 'pipe', 'inherit'];
+        spawnOpts.stdio = [process.stdin, 'pipe', process.stderr];
     }
     if (opts.cwd) {
         spawnOpts.cwd = opts.cwd;


Mime
View raw message