Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Edit stdin destination
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroaki-yamamoto committed Jan 7, 2017
1 parent 5eecd62 commit 7f6cd1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/process.js
Expand Up @@ -16,7 +16,7 @@
const merge = require('merge');
const defaultOptions = {
'shell': true,
'stdio': [process.stdin, 'pipe', 'pipe'],
'stdio': ['inherit', 'pipe', 'pipe'],
};
const finalOpt = merge(defaultOptions, opt);
return new Promise((res, rej) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "simple-process",
"version": "1.0.9",
"version": "1.0.10",
"description": "Child process that uses Promise Object",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7f6cd1b

Please sign in to comment.