GUI from gui_ex.py exits immediately

Hi All,

I’ve run into an issue with the gui_ex.py example.
When I run it, it shows the gui for a split second and then quits immediately.

If I add raw_input() at the end of the code it doesn’t quit.

What am I doing wrong?

Tested with ROOT 5.34/05 on my PC (Fedora 18) and lxplus.

Cheers,
Michal

Hi,

yes, this is expected. Run "python -i gui_ex.py’ to have both the prompt and the graphics window at the same time.

Cheers,
Wim