We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8216ac4 commit d51a0deCopy full SHA for d51a0de
torchx/schedulers/local_scheduler.py
@@ -311,7 +311,7 @@ def terminate(self) -> None:
311
"""
312
# safe to call terminate on a process that already died
313
try:
314
- os.kill(self.proc.pid, signal.SIGTERM)
+ os.killpg(self.proc.pid, signal.SIGTERM)
315
except ProcessLookupError as e:
316
log.debug(f"Process {self.proc.pid} already got terminated")
317
0 commit comments