test: performance, remove Popen(shell=True) on Win

not needed according to official python docs -
https://docs.python.org/2/library/subprocess.html#index-2

PR-URL: https://github.com/nodejs/node/pull/12138
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Refael Ackermann 2017-03-30 11:11:55 -04:00 committed by James M Snell
parent e77a83f5a5
commit f6ddbaff8a

View File

@ -617,7 +617,6 @@ def RunProcess(context, timeout, args, **rest):
pty_out = rest.pop('pty_out')
process = subprocess.Popen(
shell = utils.IsWindows(),
args = popen_args,
**rest
)