I used to issue root .x macro.C
or root .L macro.C
(I was using v6.24, under conda environment in centos7).
The same command seems to be not available in v6.26.00. the root help menu shows:
OPTIONS:
-b Run in batch mode without graphics
-x Exit on exceptions
-e Execute the command passed between single quotes
-n Do not execute logon and logoff macros as specified in .rootrc
-t Enable thread-safety and implicit multi-threading (IMT)
-q Exit after processing command line macro files
-l Do not show the ROOT banner
-a Show the ROOT splash screen
-config print ./configure options
-h, -?, --help Show summary of options
--version Show the ROOT version
--notebook Execute ROOT notebook
--web Display graphics in a default web browser
--web=<browser> Display graphics in specified web browser
[dir] if dir is a valid directory cd to it before executing
[file:data.root] Open the ROOT file data.root
[file1.C...fileN.C] Execute the the ROOT macro file1.C ... fileN.C
Is the new root command does not differentiate between ‘load’ and ‘run’ ?
so everytime we open the macro, the macro always get executed ?
_ROOT Version:6.26.00
_Platform:conda (in Ubuntu 20.04, WSL)
_Compiler:GCC 10.4.0