I have code like this:
from multiprocessing import Process proc = Process(target=some_blocking_callable) proc.start() time.sleep(1) proc.terminate() <
from multiprocessing import Process proc = Process(target=some_blocking_callable) proc.start() time.sleep(1) proc.terminate()