MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / is_alive

Method is_alive

pydevd_attach_to_process/winappdbg/process.py:431–441  ·  view source on GitHub ↗

@rtype: bool @return: C{True} if the process is currently running.

(self)

Source from the content-addressed store, hash-verified

429 return win32.CheckRemoteDebuggerPresent(hProcess)
430
431 def is_alive(self):
432 """
433 @rtype: bool
434 @return: C{True} if the process is currently running.
435 """
436 try:
437 self.wait(0)
438 except WindowsError:
439 e = sys.exc_info()[1]
440 return e.winerror == win32.WAIT_TIMEOUT
441 return False
442
443 def get_exit_code(self):
444 """

Callers 4

killMethod · 0.95
get_exit_timeMethod · 0.95
get_running_timeMethod · 0.95
clear_dead_processesMethod · 0.45

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected