[Python-Dev] About SSL tests (original) (raw)

Trent Mick trentm at activestate.com
Wed Apr 4 00:38:31 CEST 2007


Steven Bethard wrote:

Another difference I believe is that TerminateProcess on Windows doesn't kill the tree of processes like kill would. It would be nice if Popen.terminate() did the same thing on both Unix and Windows. (I assume that would mean making all the appropriate TerminateProcess calls.)

Possibly that should be kept separate and handled via eventual handling for process jobs:

http://msdn2.microsoft.com/en-us/library/ms684161.aspx

A job object allows groups of processes to be managed as a unit. Job objects are namable, securable, sharable objects that control attributes of the processes associated with them. Operations performed on the job object affect all processes associated with the job object.

... To terminate all processes currently associated with a job object, use the TerminateJobObject function.

Trent

-- Trent Mick trentm at activestate.com



More information about the Python-Dev mailing list