I have a python script which launches several processes. Each process basically just calls a shell script:
from multiprocessing import Process import os imp
In Python 3.3, the subprocess module supports a timeout: http://docs.python.org/dev/library/subprocess.html
For other solutions regarding Python 2.x, please have a look in this thread: Using module 'subprocess' with timeout