Hello ROOTers,
is there a way to process a ROOT macro in the background?
Consider this simple macro Test.C:
{
cout << "Hello World" << endl;
}
If I call ROOT to process it
]> root -q -l Test.C
in the shell I get the expected output:
root [0]
Processing Test.C...
Hello World
]>
But if I want ROOT to process it in the background
I get no output until I fetch the process to foreground again
]> root -q -l Test.C &
[4] 16584
]> fg
root -q -l Test.C
root [0]
Processing Test.C...
Hello World
]>
Is there a way to make this work?
The thing is I have a application (e.g. Prog1) which calls another one (e.g. Prog2) to do some calculation. Prog2 uses Rint as user interface. The call from Prog1 succeeds as long as it is run in foreground. If run in the background I run into the same problem as shown above.
Regards
Thomas Lauf Received on Mon Jul 05 2010 - 16:59:53 CEST
This archive was generated by hypermail 2.2.0 : Mon Jul 05 2010 - 17:50:01 CEST