diff options
author | Bryan Ward <bcw@cs.unc.edu> | 2013-04-17 16:36:58 -0400 |
---|---|---|
committer | Bryan Ward <bcw@cs.unc.edu> | 2013-04-17 16:36:58 -0400 |
commit | b8f3c7a1ccd2fffc54f15e808505a568ce5fa492 (patch) | |
tree | df2a20912c6604d398da508bc818a6bb67b5f90f /run/executable/executable.py | |
parent | b1860fce856c1d579008bc30cbf3513a860c3e69 (diff) | |
parent | 2a4b1c11751632dcc1f47c3c13ab2e2a718b883c (diff) |
Merge branch 'master' of github.com:hermanjl/experiment-scripts
Diffstat (limited to 'run/executable/executable.py')
-rw-r--r-- | run/executable/executable.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run/executable/executable.py b/run/executable/executable.py index 263e305..e6f2003 100644 --- a/run/executable/executable.py +++ b/run/executable/executable.py | |||
@@ -6,9 +6,10 @@ from common import get_executable | |||
6 | class Executable(object): | 6 | class Executable(object): |
7 | '''Parent object that represents an executable for use in task-sets.''' | 7 | '''Parent object that represents an executable for use in task-sets.''' |
8 | 8 | ||
9 | def __init__(self, exec_file, extra_args=None, stdout_file = None, stderr_file = None): | 9 | def __init__(self, exec_file, extra_args=None, stdout_file = None, |
10 | stderr_file = None, cwd = None): | ||
10 | self.exec_file = get_executable(exec_file) | 11 | self.exec_file = get_executable(exec_file) |
11 | self.cwd = None | 12 | self.cwd = cwd |
12 | self.stdout_file = stdout_file | 13 | self.stdout_file = stdout_file |
13 | self.stderr_file = stderr_file | 14 | self.stderr_file = stderr_file |
14 | self.sp = None | 15 | self.sp = None |