From 3212a3326d41615164b09f06e8808805ff829eac Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 12 Dec 2018 18:46:41 +0000 Subject: [PATCH] Document where function came from --- catfish/utils/processes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/catfish/utils/processes.py b/catfish/utils/processes.py index da9ef10..6822dc4 100644 --- a/catfish/utils/processes.py +++ b/catfish/utils/processes.py @@ -4,6 +4,7 @@ import psutil def terminate_processes(procs: List[psutil.Process], timeout=3): + # https://psutil.readthedocs.io/en/latest/#terminate-my-children for p in procs: p.terminate() gone, alive = psutil.wait_procs(procs, timeout=timeout)