I suppose you can place try: except around pyglet.app.run(), but that might
be a bit crude
you can always make your own event loop too.

2011/8/1 hugo <hugo.gagn...@gmail.com>

> Hello,
>
> Can I prevent pyglet from exiting its main loop whenever an unhandled
> exception (raised by my own program) arises? On Mac pyglet somehow
> does it automatically, but I just realized that on Linux it shuts off
> my GUI instantly.
>
> Thanks,
> --
>  Hugo Gagnon
>
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To post to this group, send email to pyglet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> pyglet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyglet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to pyglet-users@googlegroups.com.
To unsubscribe from this group, send email to 
pyglet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to