Terminates the execution of the process. @raise WindowsError: On error an exception is raised.
(self, dwExitCode=0)
| 360 | self.get_handle(win32.SYNCHRONIZE).wait(dwTimeout) |
| 361 | |
| 362 | def kill(self, dwExitCode=0): |
| 363 | """ |
| 364 | Terminates the execution of the process. |
| 365 | |
| 366 | @raise WindowsError: On error an exception is raised. |
| 367 | """ |
| 368 | hProcess = self.get_handle(win32.PROCESS_TERMINATE) |
| 369 | win32.TerminateProcess(hProcess, dwExitCode) |
| 370 | |
| 371 | def suspend(self): |
| 372 | """ |