diff options
author | Nathan Wilcox <inoshiro@lindenlab.com> | 2010-01-11 10:45:01 -0800 |
---|---|---|
committer | Nathan Wilcox <inoshiro@lindenlab.com> | 2010-01-11 10:45:01 -0800 |
commit | 11eac588c2e26b42e269da9394bbb8918552fb1c (patch) | |
tree | 43d82e8405c02960833727fb0197ee610a28e710 /indra/develop.py | |
parent | f37f806660f66b064490b9c14d724273dc67fcbb (diff) |
DEV-44838 - Fix another bug introduced by passing "executable" in WindowsSetup.run(); find_in_path() does not handle absolute paths, but name is guaranteed to be an absolute path.
This explains the bogus message in the log of the form "process $foo exited with nonzero status; process $foo is not found", described here:
https://jira.lindenlab.com/jira/browse/DEV-44838?focusedCommentId=328441&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_328441
Diffstat (limited to 'indra/develop.py')
-rwxr-xr-x | indra/develop.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/develop.py b/indra/develop.py index a20badcfba..71569f15d2 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -595,10 +595,7 @@ class WindowsSetup(PlatformSetup): ret = subprocess.call(command, executable=name) print "got ret", ret, "from", command if ret: - if name is None: - name = command.split(None, 1)[0] - path = self.find_in_path(name) - if not path: + if not name: error = 'was not found' else: error = 'exited with status %d' % ret |