From 6b33d5955a2c4ff34c17b58dd4a23b53a3c1dde7 Mon Sep 17 00:00:00 2001
From: Nathan Wilcox <inoshiro@lindenlab.com>
Date: Fri, 8 Jan 2010 17:42:22 -0800
Subject: [PATCH] DEV-44838 - See if the executable parameter to
 subprocess.Popen must be absolute on windows.

---
 indra/develop.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/develop.py b/indra/develop.py
index 27c3d0ca2ce..dc1190699ce 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -587,6 +587,8 @@ def get_build_cmd(self):
     def run(self, command, name=None, retry_on=None, retries=1):
         '''Run a program.  If the program fails, raise an exception.'''
         assert name is not None, 'On windows an executable path must be given in name.'
+        if not os.path.isfile(name):
+            name = self.find_in_path(name)
         while retries:
             retries = retries - 1
             print "develop.py tries to run:", command
-- 
GitLab