Home | History | Annotate | Download | only in distutils

Lines Matching refs:executable

6 executable name.
23 executable.
25 If 'search_path' is true (the default), the system's executable
27 must be the exact path to the executable. If 'dry_run' is true,
60 executable = cmd[0]
64 executable = find_executable(executable) or executable
65 log.info(' '.join([executable] + cmd[1:]))
69 rc = os.spawnv(os.P_WAIT, executable, cmd)
80 executable = cmd[0]
83 executable = find_executable(executable) or executable
84 log.info(' '.join([executable] + cmd[1:]))
88 rc = os.spawnv(os.P_WAIT, executable, cmd)
177 def find_executable(executable, path=None):
178 """Tries to find 'executable' in the directories listed in 'path'.
186 base, ext = os.path.splitext(executable)
189 executable = executable + '.exe'
191 if not os.path.isfile(executable):
193 f = os.path.join(p, executable)
199 return executable