Skip to content

Commit

Permalink
Merge pull request #22 from zillding/fix-stdio
Browse files Browse the repository at this point in the history
Fix stdin not passed to child process
  • Loading branch information
zillding committed Apr 27, 2019
2 parents e985a5e + 8d64adc commit 2c4f260
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ try {
function npsExec(str) {
execa
.shell(`nps ${str}`, {
stdout: process.stdout,
stderr: process.stderr
stdio: "inherit"
})
.catch(({ code }) => {
process.exit(code);
Expand Down

0 comments on commit 2c4f260

Please sign in to comment.