cr:806854 - quit on error/break always for batch/script flow and quit in...

... GUI mode only when param is false