(exe)
| 34 | WINSERVICE = sys.executable and sys.executable.lower().endswith("pythonservice.exe") |
| 35 | |
| 36 | def set_executable(exe): |
| 37 | global _python_exe |
| 38 | if exe is None: |
| 39 | _python_exe = exe |
| 40 | elif sys.platform == 'win32': |
| 41 | _python_exe = os.fsdecode(exe) |
| 42 | else: |
| 43 | _python_exe = os.fsencode(exe) |
| 44 | |
| 45 | def get_executable(): |
| 46 | return _python_exe |
no outgoing calls
no test coverage detected
searching dependent graphs…