How to kill all running processes of a ProcessPoolExecutor and keep the Futures?
I’m trying to write a method that kills all the processes spawned by a ProcessPoolExecutor
, without waiting the processes to terminate their jobs (as executor.shutdown(wait=False)
would do).