From 11eac588c2e26b42e269da9394bbb8918552fb1c Mon Sep 17 00:00:00 2001
From: Nathan Wilcox <inoshiro@lindenlab.com>
Date: Mon, 11 Jan 2010 10:45:01 -0800
Subject: [PATCH] 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
---
 indra/develop.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/indra/develop.py b/indra/develop.py
index a20badcfba3..71569f15d23 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -595,10 +595,7 @@ def run(self, command, name=None, retry_on=None, retries=1):
             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
-- 
GitLab