summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-11-16 12:43:11 -0800
committerNathan Binkert <binkertn@umich.edu>2006-11-16 12:43:11 -0800
commit31d829d388824c6795009afa55610ea5f5a22b0c (patch)
tree58ca15d687725129a376d0fd075d40252f4e5739 /src/python/m5
parentdbdf2f14ae6b586efd31b73aa4548a38ecee263f (diff)
downloadgem5-31d829d388824c6795009afa55610ea5f5a22b0c.tar.xz
Implement current working directory for LiveProcesses
--HG-- extra : convert_revision : a2d3cf29ab65c61af27d82a8c421a41a19fd5aeb
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/objects/Process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/m5/objects/Process.py b/src/python/m5/objects/Process.py
index 771ad4101..79268e6f4 100644
--- a/src/python/m5/objects/Process.py
+++ b/src/python/m5/objects/Process.py
@@ -12,6 +12,7 @@ class LiveProcess(Process):
executable = Param.String('', "executable (overrides cmd[0] if set)")
cmd = VectorParam.String("command line (executable plus arguments)")
env = VectorParam.String('', "environment settings")
+ cwd = Param.String('', "current working directory")
input = Param.String('cin', "filename for stdin")
uid = Param.Int(100, 'user id')
euid = Param.Int(100, 'effective user id')