On Sat, 2008-08-30 at 23:10 -0700, simpsus_science wrote:
> Hallo,
> 
> I would like to add a menupoint for restarting to whole app.
> Intuitively, I would think it works someting like:
> 
> pyglet.app.exit()
> //Instantiate your stuff again
> 
> But that doesn't work. Basically. If I don't kill everything present,
> I will get two windows (within the same pyglet app), but if I kill
> everything present, there is no way I can get pyglet to .. wake up
> again.

Restarting can generally be done using the os.exec* functions. 

Nikos



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

Reply via email to