From: Nilay Vaish Date: Mon, 7 Oct 2013 23:05:50 +0000 (-0500) Subject: config: set cwd for processes in se.py X-Git-Tag: stable_2014_02_15~96 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2dec06a57b7df65ae0e635f599d0849f621c0545;p=gem5.git config: set cwd for processes in se.py --- 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()