summaryrefslogtreecommitdiff
path: root/indra/develop.py
diff options
context:
space:
mode:
authorNathan Wilcox <inoshiro@lindenlab.com>2010-01-08 17:42:22 -0800
committerNathan Wilcox <inoshiro@lindenlab.com>2010-01-08 17:42:22 -0800
commit6b33d5955a2c4ff34c17b58dd4a23b53a3c1dde7 (patch)
tree5be573a4ed10ec8f5dca802a716a1db5e221e2c7 /indra/develop.py
parent010bfed411cffdb7037872a209adf51c77f48140 (diff)
DEV-44838 - See if the executable parameter to subprocess.Popen must be absolute on windows.
Diffstat (limited to 'indra/develop.py')
-rwxr-xr-xindra/develop.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/develop.py b/indra/develop.py
index 27c3d0ca2c..dc1190699c 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -587,6 +587,8 @@ class WindowsSetup(PlatformSetup):
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