Lines Matching full:executable
6 executable name.
29 executable.
31 If 'search_path' is true (the default), the system's executable
33 must be the exact path to the executable. If 'dry_run' is true,
48 executable = find_executable(cmd[0])
49 if executable is not None:
50 cmd[0] = executable
95 def find_executable(executable, path=None): argument
96 """Tries to find 'executable' in the directories listed in 'path'.
101 _, ext = os.path.splitext(executable)
103 executable = executable + '.exe'
105 if os.path.isfile(executable):
106 return executable
125 f = os.path.join(p, executable)