This makes it closer to how one would run the tests by hand, and it is
also closer to how the SSHExecutor runs the tests remotely. It also
allows using shell builtins in .sh.cpp tests when using %{exec}.
exit(1)
# Run the executable with the given environment in the given working directory
- return subprocess.call(remaining, cwd=args.working_directory, env=env)
+ return subprocess.call(' '.join(remaining), cwd=args.working_directory, env=env, shell=True)
if __name__ == '__main__':
exit(main())