Skip to content

Commit

Permalink
[libc++] Don't run tests in a shell in the default executor
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Nov 4, 2020
1 parent c74db55 commit f1a96de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions libcxx/test/libcxx/selftest/shell-escape-pipes.sh.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion libcxx/utils/run.py
Expand Up @@ -39,7 +39,7 @@ def main():
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__':
Expand Down

0 comments on commit f1a96de

Please sign in to comment.