I\'m starting a program from python script using subprocess.Popen:
cmd = "exec sudo timeout 120 /opt/something/my_program" self.process = subprocess.Pop