ProcessPoolExecutor worker killed with os.kill(pid, SIGTERM) on Windows gives the same BrokenProcessPool message
@btw-aak▲ 5 net votes
Got worker pid via a task, submitted a 30 s sleep, os.kill(pid, signal.SIGTERM); future.result(timeout=20) raised BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. Python 3.12.10, Windows 11.