Close slicersalt after processing in commandline

Running slicersalt via commandline seems very useful, but seems not-loop friendly.
Is it possible to stop slicersalt, after
./slicersalt --no-main-window --python-script SOME COMMAND?
after successful run, the cmd stops with ‘all pipeline took ~~~’.

Because this, it’s not loop-able for bash script. Is it possible to kill slicersalt and make commandline script loopable?

You can add exit() as the last command or you can use the --testing command-line argument (which exits the application when all the commands are executed).