killing child processes
reinhard at proceryon.at
Wed Apr 9 11:58:05 CEST 2003
Sorry, but fork() is not available under win32 (which i'm working on).
Padraig at Linux.ie wrote:
> reinhard wrote:
>> I've created a process (some batchfile) which in turn creates some
>> long running child processes using the win32api CreateProcess call
>> (declaring them as a group).
>> Is there a way to terminate (kill) all the child processes in the
> yep. just fork() and setpgrp()
> Then all processes will have the
> same groupid which you can kill(-groupid)
> You can look at the code in FSlint:
More information about the Python-list