There are two ways to run a file with Geant4 macro commands using slic.
First, a single non-option command line argument is treated as a macro.
No Format |
---|
slic run.macro |
Secondly, the -m switch can be used one or more times to specify macros that will be executed in command line order.
No Format |
---|
slic -m init.macro -m run.macro |