diff options
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() |