qi: check the exit status of commands