From 8c886452d4d69c4d020db1561b97335f37e999d7 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 9 Nov 2018 11:31:09 +0700 Subject: [PATCH] Set the spawn `windowsHide` option to `true` windowsHide Hide the subprocess console window that would normally be created on Windows systems. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9a923f61e..0610a581c 100644 --- a/index.js +++ b/index.js @@ -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) {