diff options
Diffstat (limited to 'experiment/experiment.py')
| -rw-r--r-- | experiment/experiment.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/experiment/experiment.py b/experiment/experiment.py index ce189a1..5ed6480 100644 --- a/experiment/experiment.py +++ b/experiment/experiment.py | |||
| @@ -94,7 +94,10 @@ class Experiment(object): | |||
| 94 | self.log("Starting the program in ({0} seconds)".format( | 94 | self.log("Starting the program in ({0} seconds)".format( |
| 95 | len(self.executables) * exec_pause)) | 95 | len(self.executables) * exec_pause)) |
| 96 | for e in self.executables: | 96 | for e in self.executables: |
| 97 | e.execute() | 97 | try: |
| 98 | e.execute() | ||
| 99 | except: | ||
| 100 | raise Exception("Executable failed: %s" % e) | ||
| 98 | time.sleep(exec_pause) | 101 | time.sleep(exec_pause) |
| 99 | 102 | ||
| 100 | sleep_time = 2 | 103 | sleep_time = 2 |
