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.
{noformat}
slic run.macro
{noformat}
Secondly, the _-m_ switch can be used one or more times to specify macros that will be executed in command line order.
{noformat}
slic -m init.macro -m run.macro
{noformat}
First, a single non-option command line argument is treated as a macro.
{noformat}
slic run.macro
{noformat}
Secondly, the _-m_ switch can be used one or more times to specify macros that will be executed in command line order.
{noformat}
slic -m init.macro -m run.macro
{noformat}