module loghelper.process_helper
¶
Documentation¶
Helpers about processes.
-
pyquickhelper.loghelper.process_helper.
reap_children
(timeout=3, subset=None, fLOG=<function fLOG>)[source]¶ Terminates children processes. Copied from psutil. Tries hard to terminate and ultimately kill all the children of this process.
- Parameters
timeout – time out (seconds)
subset – subset of processes to be removed
fLOG – logging function
- Returns
killed processes