Hi, I have a feature request: can ROOT be made to ROOT return a value other than zero? I'd like to be able to run ROOT in the batch mode ( 'root -b -l -q' ) and if it encounters an error or the macro-file exits with a return value, can that value be returned to the shell? This is so I can run root in a script or a Makefile and test for success. eg: $root_stat=`root -b -l -q mymacro.C` if [ $root_stat -ne 0 ]; then echo "Broken Macro!!" return 1 fi Thanks, Rob -- /*************************************************** * Robert Feuerbach feuerbac@ernest.phys.cmu.edu * * CMU Physics Department (412) 268-2772 * * Pittsburgh, PA 15213 FAX: (412) 681-0648 * ***************************************************/
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET