Running macros with text args and -b

Am I correct that one no longer needs to escape the " for args executed via -b?

The user manual states the syntax as

root -b -q ‘MyMacro.C(“text1”)’

I find that the \ is rejected when the macro runs.

Also, it might be nice if root would complain if it could not find the macro, rather than do nothing and quit happily.

Thanks,

Richard

Hi Richard,
with bash, you can either call

root -b -q 'MyMacro.C("text1")' or root -b -q MyMacro.C\(\"text1\"\)(i.e. either escape or enclose in do-not-expand single quotation marks).

I’ll work on the warning message when called with a missing macro.
Axel.