[libc++] Don't run tests in a shell in the default executor
GitOrigin-RevId: f1a96de1bc8db527b5eb820c36c17e275900ca2b
diff --git a/utils/run.py b/utils/run.py
index cdfa238..f8951ee 100755
--- a/utils/run.py
+++ b/utils/run.py
@@ -39,7 +39,7 @@
env = {k : v for (k, v) in map(lambda s: s.split('=', 1), args.env)}
# Run the command line with the given environment in the execution directory.
- return subprocess.call(subprocess.list2cmdline(commandLine), cwd=args.execdir, env=env, shell=True)
+ return subprocess.call(commandLine, cwd=args.execdir, env=env, shell=False)
if __name__ == '__main__':