diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-10-07 18:05:50 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-10-07 18:05:50 -0500 |
commit | 2dec06a57b7df65ae0e635f599d0849f621c0545 (patch) | |
tree | 3757aaf34400c268cce1fbd4756c2635c30d946a /configs | |
parent | 87cc327abbc632d25c3735958a796be650256c0d (diff) | |
download | gem5-2dec06a57b7df65ae0e635f599d0849f621c0545.tar.xz |
config: set cwd for processes in se.py
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/se.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/example/se.py b/configs/example/se.py index 02a0d3b96..f7e7f1a65 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -44,6 +44,7 @@ import optparse import sys +import os import m5 from m5.defines import buildEnv @@ -85,6 +86,7 @@ def get_processes(options): for wrkld in workloads: process = LiveProcess() process.executable = wrkld + process.cwd = os.getcwd() if len(pargs) > idx: process.cmd = [wrkld] + pargs[idx].split() |