Run scenario from groovy

I want to run a gatling scenario from a groovy script. But while it is ready, it is hanging, also when doing it from a cmd prompt it is asking for ‘press any key to continue’. How to avoid this?

hmm, that’s easy, remove ‘pause’ command from gatling batch file.