Added exit on issue launching cmd