break cmd variable into exited and paused