From a841e58701c23c8f78a9b4efe0c7f09da8d8b3fa Mon Sep 17 00:00:00 2001 From: Chris AtLee Date: Thu, 18 Jun 2009 15:13:20 -0400 Subject: [PATCH] Bug 499161 - Set xrePath when creating the environment for the main process. r=ted --- build/automation.py.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/automation.py.in b/build/automation.py.in index f2c87afcc7bd..83bfa6995c04 100644 --- a/build/automation.py.in +++ b/build/automation.py.in @@ -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: