config: set cwd for processes in se.py

This commit is contained in:
Nilay Vaish 2013-10-07 18:05:50 -05:00
parent 87cc327abb
commit 2dec06a57b

View file

@ -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()