quit shell on cmdfile process finish