Python start process with timeout

Lacike/ January 5, 2011/ Software & Development

The typical scenario to start process and wait for the result takes only a few seconds to write  in other object oriented languages (other than Python) It looks like: Process p = new Process(command = “my command”, redirect_output = True) p.Wait(timeout = 10) return p.stdout.result In Python there is no such functionality provided. You have to check the process using

Read More