[pywin32-bugs] [ pywin32-Feature Requests-1414413 ] Support JobObject functions
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2006-01-25 09:29:17
|
Feature Requests item #1414413, was opened at 2006-01-25 09:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1414413&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: HVB bei TUP (hvb_tup) Assigned to: Nobody/Anonymous (nobody) Summary: Support JobObject functions Initial Comment: JobObject functions are very useful. The basic usage is: CreateJobObject CreateProcess suspended AddProcessToJobObject ResumeThread Then the child process you started belongs to the job, as well as any processes the child process starts (the property of belonging to a job is inherited). You can then kill the child process AND all grandchildren etc. using TerminateJobObject. This is very similar to the *nix world. References: MSDN: CreateJobObject TerminateJobObject AddProcessToJobObject QueryInformationJobObject http://www.microsoft.com/msj/0698/win320698.aspx see the last paragraphs mentioning JobObjects. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1414413&group_id=78018 |