Description of problem: When running the rhevm-shell (ovirt-shell), for example: rhevm-shell -c -f commands-file assuming that the content of commands-file is: clear list vms exit The commands get executed but the shell remains open. If "exit" is typed manually, then it exits, as expected. Version-Release number of selected component (if applicable): rhevm-cli-3.1.0.7-1.el6ev rhevm-sdk-3.1.0.5-1.el6ev