Browse Source

45216: Adjust popen command to set shell to true, the current working directory and the shell executable.

A. Shawn Bandy 8 years ago
parent
commit
6a4cc0e631
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/benchmark/framework_test.py

+ 1 - 1
toolset/benchmark/framework_test.py

@@ -493,7 +493,7 @@ class FrameworkTest:
 
         self.benchmarker.report_benchmark_results(framework=self, test=test_type, results=results['results'])
         rmtmp = "find /tmp -maxdepth 1 -name \"*\" -print0 | xargs -0 sudo -u %s rm" % (self.benchmarker.runner_user)
-        subprocess.Popen(rmtmp);
+        subprocess.Popen(rmtmp, shell=True, cwd=self.fwroot, executable='/bin/bash')
         out.write( "Complete\n" )
         out.flush()