executorlib.task_scheduler.file.spawner_subprocess.terminate_subprocess

executorlib.task_scheduler.file.spawner_subprocess.terminate_subprocess#

executorlib.task_scheduler.file.spawner_subprocess.terminate_subprocess(task)[source]#

Terminate a subprocess and wait for it to complete.

Parameters:

task (subprocess.Popen) – The subprocess.Popen instance to terminate