Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-04-29 19:42:19 +0400
committerisaacs <i@izs.me>2013-04-29 19:42:19 +0400
commit80d2e4eb64fa0896532c43197922a37987f4d976 (patch)
treea84f77d2f882e5c060f3bd7be35dd1c20a9f0743 /lib/explore.js
parentbe097b9b785a3391e6b52ff74897732905a79e63 (diff)
use 'customFds' instead of 'stdio'
For the good of 0.6
Diffstat (limited to 'lib/explore.js')
-rw-r--r--lib/explore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/explore.js b/lib/explore.js
index 559b4ea67..275a5cee1 100644
--- a/lib/explore.js
+++ b/lib/explore.js
@@ -26,7 +26,7 @@ function explore (args, cb) {
"\nExploring "+cwd+"\n"+
"Type 'exit' or ^D when finished\n")
- var shell = spawn(s, args, {cwd: cwd, stdio: "inherit"})
+ var shell = spawn(s, args, { cwd: cwd, customFds: [0, 1, 2] })
shell.on("close", function (er) {
// only fail if non-interactive.
if (!args.length) return cb()