From 53faf7f4597c966fa6052212b363a7c98dcdd34c Mon Sep 17 00:00:00 2001 From: Pavel Kukushkin Date: Thu, 18 Mar 2021 15:11:59 +0300 Subject: [PATCH] Hide PowerShell window on Windows (#235) --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 3690af1..72f5717 100644 --- a/index.js +++ b/index.js @@ -130,6 +130,8 @@ const open = async (target, options) => { '-NonInteractive', '–ExecutionPolicy', 'Bypass', + '–WindowStyle', + 'Hidden', '-EncodedCommand' );