Hello all,
please excuse me if this information is available somewhere, but I seem to incapable of finding it. I am usually running programs “outside” ROOT in Linux like:
#include <iostream>
#include "TApplication.h"
#include "TCanvas.h"
int main(int argc, char**argv)
{
TApplication *app = new TApplication("app",&argc,argv);
// Just to do something...
TCanvas *c1 = new TCanvas("c1","c1",950,950);
app->Run();
return 0;
}
And I can compile it, run it, I have the window opened and everything’s fine. The problem now, comes from when I want to run it in batch mode using the option ‘-b’ like
./test -b
So no window is opened and things goes well, but it still hangs in the Run() part, and I have to leave it with ^C.
Is that expected? Is there any option that would disable the hanging in Run()? Shouldn’t the bash option also disable that?
Thank you,
Tudi.