@rtype: bool @return: C{True} if the process is currently running.
(self)
| 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 | """ |
no test coverage detected