Lines Matching refs:executable
147 wchar_t executable[MAX_PATH]; member
188 if (_wcsicmp(path, ip->executable) == 0) { in find_existing_python()
241 data_size = sizeof(ip->executable) - 1; in locate_pythons_for_key()
243 (LPBYTE)ip->executable, &data_size); in locate_pythons_for_key()
252 if (ip->executable[data_size - 1] == L'\\') in locate_pythons_for_key()
257 _snwprintf_s(&ip->executable[data_size], in locate_pythons_for_key()
261 attrs = GetFileAttributesW(ip->executable); in locate_pythons_for_key()
265 ip->executable, message); in locate_pythons_for_key()
270 ip->executable, attrs); in locate_pythons_for_key()
272 else if (find_existing_python(ip->executable)) { in locate_pythons_for_key()
274 found\n", ip->executable); in locate_pythons_for_key()
278 ok = GetBinaryTypeW(ip->executable, &attrs); in locate_pythons_for_key()
281 ip->executable); in locate_pythons_for_key()
293 ip->executable, attrs); in locate_pythons_for_key()
296 if (wcschr(ip->executable, L' ') != NULL) { in locate_pythons_for_key()
298 n = wcslen(ip->executable); in locate_pythons_for_key()
299 memmove(&ip->executable[1], in locate_pythons_for_key()
300 ip->executable, n * sizeof(wchar_t)); in locate_pythons_for_key()
301 ip->executable[0] = L'\"'; in locate_pythons_for_key()
302 ip->executable[n + 1] = L'\"'; in locate_pythons_for_key()
303 ip->executable[n + 2] = L'\0'; in locate_pythons_for_key()
307 ip->executable, ip->bits); in locate_pythons_for_key()
490 debug(L"'%ls'\n", result->executable); in locate_python()
514 result->version, result->executable); in locate_python()
669 invoke_child(wchar_t * executable, wchar_t * suffix, wchar_t * cmdline) in invoke_child() argument
677 run_child(executable); in invoke_child()
681 child_command_size = wcslen(executable) + wcslen(cmdline) + 2; in invoke_child()
685 child_command_size = wcslen(executable) + wcslen(suffix) + in invoke_child()
695 executable, cmdline); in invoke_child()
699 executable, suffix, cmdline); in invoke_child()
1151 invoke_child(ip->executable, NULL, cmdline); in maybe_handle_shebang()
1295 invoke_child(ip->executable, suffix, cmdline); in maybe_handle_shebang()
1353 wchar_t * executable; in process() local
1499 executable = ip->executable; in process()
1518 executable = find_python_by_venv(); in process()
1521 if (executable == NULL) { in process()
1525 executable = ip->executable; in process()
1554 invoke_child(executable, NULL, command); in process()