flask-executor icon indicating copy to clipboard operation
flask-executor copied to clipboard

Kill a single process id

Open bobc82 opened this issue 7 months ago • 0 comments

I ran a background process using flask-executor with this command:

executor.submit_stored("TEXT_LABEL", background_function, args*)

While i did some research i read that there is a method to kill an executor with executor.shutdown(), but this method stops all running processes.

Is there a way to stop only the running process labeled with TEXT_LABEL id?

bobc82 avatar Jul 16 '24 14:07 bobc82