Skip to content

Commit f1a96de

Browse files
committed
[libc++] Don't run tests in a shell in the default executor
1 parent c74db55 commit f1a96de

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

libcxx/test/libcxx/selftest/shell-escape-pipes.sh.cpp

Lines changed: 0 additions & 21 deletions
This file was deleted.

libcxx/utils/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def main():
3939
env = {k : v for (k, v) in map(lambda s: s.split('=', 1), args.env)}
4040

4141
# Run the command line with the given environment in the execution directory.
42-
return subprocess.call(subprocess.list2cmdline(commandLine), cwd=args.execdir, env=env, shell=True)
42+
return subprocess.call(commandLine, cwd=args.execdir, env=env, shell=False)
4343

4444

4545
if __name__ == '__main__':

0 commit comments

Comments
 (0)