[python-win32] win32process.TerminateProcess error

Jim Vickroy Jim.Vickroy at noaa.gov
Wed Jul 16 11:55:53 EDT 2003


Howdy,

I have added the following line:

    win32process.TerminateProcess(hProcess, 9)

to the runproc demo distributed with Pythonwin which produces the
following error:

    pywintypes.error: (5, 'TerminateProcess', 'Access is denied.')

How can a child process be aborted by its parent?

Thanks,

-- jv




More information about the Python-win32 mailing list