Bug 499161 - Set xrePath when creating the environment for the main process. r=ted

This commit is contained in:
Chris AtLee 2009-06-18 15:13:20 -04:00
parent 79067a3630
commit e7936ee1eb

View File

@ -585,7 +585,8 @@ def runApp(testURL, env, app, profileDir, extraArgs,
else:
outputPipe = subprocess.PIPE
proc = Process([cmd] + args, env = environment(env), stdout = outputPipe, stderr = subprocess.STDOUT)
proc = Process([cmd] + args, env = environment(env, xrePath = xrePath),
stdout = outputPipe, stderr = subprocess.STDOUT)
log.info("INFO | automation.py | Application pid: %d", proc.pid)
if outputPipe is None: