Skip to content

Commit

Permalink
Add b flag to hide shell window on Windows (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddantzler authored and kevva committed Sep 13, 2017
1 parent ebae31e commit eb99a73
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 @@ -32,7 +32,7 @@ module.exports = (target, opts) => {
}
} else if (process.platform === 'win32' || isWsl) {
cmd = 'cmd' + (isWsl ? '.exe' : '');
args.push('/c', 'start', '""');
args.push('/c', 'start', '""', '/b');
target = target.replace(/&/g, '^&');

if (opts.wait) {
Expand Down

0 comments on commit eb99a73

Please sign in to comment.