add empty lines

This commit is contained in:
Jakub Trllo 2024-11-08 16:59:05 +01:00
parent 20206a3cf3
commit 41db386f23

View file

@ -126,6 +126,8 @@ def _windows_get_pid_args(pid: int) -> Optional[List[str]]:
finally:
ctypes.windll.kernel32.CloseHandle(handle)
return output
def _windows_pid_is_running(pid: int) -> bool:
args = _windows_get_pid_args(pid)
if not args: