diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-17 13:56:55 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-17 13:56:55 -0400 |
commit | e948e4b6a6cf1efd8d1f3d3359b1ad9891b3babc (patch) | |
tree | f349005c36f50266152dd2ade34e9b40e3249254 /run_exps.py | |
parent | 625e0f2d3fd50f079c7eb84825992b70421bd78e (diff) |
Cleaned up sched_trace output and code.
Diffstat (limited to 'run_exps.py')
-rwxr-xr-x | run_exps.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/run_exps.py b/run_exps.py index 6531415..905d033 100755 --- a/run_exps.py +++ b/run_exps.py | |||
@@ -197,9 +197,8 @@ def run_parameter(exp_dir, out_dir, params, param_name): | |||
197 | script = com.get_executable(script_name, cwd=exp_dir) | 197 | script = com.get_executable(script_name, cwd=exp_dir) |
198 | 198 | ||
199 | out = open('%s/%s-out.txt' % (out_dir, param_name), 'w') | 199 | out = open('%s/%s-out.txt' % (out_dir, param_name), 'w') |
200 | prog = Executable(script, script_params, | 200 | prog = Executable(script, script_params, cwd=out_dir, |
201 | stderr_file=out, stdout_file=out) | 201 | stderr_file=out, stdout_file=out) |
202 | prog.cwd = out_dir | ||
203 | 202 | ||
204 | prog.execute() | 203 | prog.execute() |
205 | prog.wait() | 204 | prog.wait() |