Application doesn't end
Damjan Jovanovic
damjan.jov at gmail.com
Fri Dec 8 06:10:29 PST 2006
On 12/8/06, Franky Braem <f.braem at skynet.be> wrote:
>
> I finally have managed to run wxJS on Ubuntu. It runs the scripts fine,
> but it doesn't end. After all windows are closed, the OnExit (in the gui
> wxApp) is called, but I have to press Ctrl-C to end the console program.
>
> wxJS itself is a console application, which loads dll's that can have
> there own wxApp. The gui module does this.
>
> One other thing that I see: When wxJS starts to log messages it writes
> them to stdout. Once the gui module is loaded, it shows a dialog with
> the next log messages. Is there a way to keep those log messages on stdout?
>
> Franky.
>
When OnExit is called, send yourself a SIGINT, which does exactly the
same thing as a Ctrl+C ;-).
More information about the wx-users
mailing list