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

Method kill

pydevd_attach_to_process/winappdbg/process.py:362–369  ·  view source on GitHub ↗

Terminates the execution of the process. @raise WindowsError: On error an exception is raised.

(self, dwExitCode=0)

Source from the content-addressed store, hash-verified

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 """

Callers 3

test_terminateFunction · 0.95
killMethod · 0.95
detachMethod · 0.95

Calls 1

get_handleMethod · 0.95

Tested by 1

test_terminateFunction · 0.76