By default, slic runs in batch mode. The interactive mode must be explicitly selected.
To run in batch mode, a macro could be executed that contains all the necessary initializations and the run command.
slic run.mac
Or all the options could be specified at the command line.
slic -g mygeom.lcdd -i events.stdhep -O -r 1000