I'm using multiprocessing.Process
to prevent some function from running for too long.
I'd like to use pathos
instead of python's multiprocessing
(due to it's ability to handle things that the standard multiprocessing package can't), but it seems like some functionality is lacking: I can't find anything in pathos which allows for join
with a timeout argument.
I'm hoping there is something of the sort which will allow me to terminate a process once some time has passed.
(I'm using windows, so the simplest alternative - using signal
- is not possible, and the alternatives seem extremely complicated)