changeset 8bddb3879c16 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=8bddb3879c16
description:
config: set cwd for processes in se.py
diffstat:
configs/example/se.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 6c1d204d2d22 -r 8bddb3879c16 configs/example/se.py
--- a/configs/example/se.py Mon Oct 07 18:05:49 2013 -0500
+++ b/configs/example/se.py Mon Oct 07 18:05:50 2013 -0500
@@ -44,6 +44,7 @@
import optparse
import sys
+import os
import m5
from m5.defines import buildEnv
@@ -85,6 +86,7 @@
for wrkld in workloads:
process = LiveProcess()
process.executable = wrkld
+ process.cwd = os.getcwd()
if len(pargs) > idx:
process.cmd = [wrkld] + pargs[idx].split()
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev