[BangPypers] Restart when python script hangs

ashish makani ashish.makani at gmail.com
Mon Jun 2 13:00:57 CEST 2014


hi rahul,

as rohit mentioned, it would be helpful,
if you can share the code of the script in question

you can share & upload the script here
https://gist.github.com/

cheers,
ashish

*The only way to do great work is to love what you do. If you haven’t found
it yet, keep looking. Don’t settle. As with all matters of the heart,
you’ll know when you find it.” - Steve Jobs (1955 - 2011)*


On Mon, Jun 2, 2014 at 4:13 PM, Rohit Chormale <rohitchormale at gmail.com>
wrote:

> You might need to find first where it hangs.
> You can do this using test cases.
>
> Also if you give some code snippet, we might able to help you.
>
> Have a good luck
>
>
> On Mon, Jun 2, 2014 at 3:14 PM, Rahul Gopan <rahulpcet19 at gmail.com> 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.
> >
> > Kindly help me how it can done
> >
> > Regards,
> > Rahul G
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list