[BangPypers] Restart when python script hangs

Noufal Ibrahim KV noufal at nibrahim.net.in
Mon Jun 2 13:10:06 CEST 2014


On Mon, Jun 02 2014, Rahul Gopan wrote:

> Hello,
>
> When I run a python script it hangs at random places. Is there any way to
> identify when the script hangs and to resume it automatically. When I see
> that it is not responding i do ^Z (Ctrl -Z) to stop and then use fg command
> to start it again. I want to automate this.

>From the zen of python
"Errors should never pass silently."

You should find out why it's hanging and fix it. 

[...]


-- 
Cordially,
Noufal
http://nibrahim.net.in


More information about the BangPypers mailing list