Skip to content

Commit

Permalink
Set the spawn windowsHide option to true
Browse files Browse the repository at this point in the history
windowsHide <boolean> Hide the subprocess console window that would normally be created on Windows systems.
  • Loading branch information
sindresorhus committed Nov 9, 2018
1 parent 37d9bd9 commit 8c88645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function handleArgs(command, args, options) {
encoding: 'utf8',
reject: true,
cleanup: true
}, parsed.options);
}, parsed.options, {windowsHide: true});

// TODO: Remove in the next major release
if (options.stripEof === false) {
Expand Down

0 comments on commit 8c88645

Please sign in to comment.