Bug 850597

Summary: rhevm-shell does not exit shell when using an external file with commands using -f option
Product: Red Hat Enterprise Virtualization Manager Reporter: Marcelo Giles <mgiles>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact: Ilia Meerovich <iliam>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, bazulay, dyasny, ecohen, iheim, oramraz, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: si16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:57:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcelo Giles 2012-08-21 22:42:49 UTC
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