How to tell theApp.Run() what to run?

Hello,
How can I say to theApp what code to run ?
Because when the program call
theApp.Run()

the rest of the code, following that line doesn’t execute, as the program terminate when theApp terminates…

Thank you

See test/hworld2.cxx and the documentation for TApplication::Run.

Cheers,
Philippe.