Description of problem: If a script does not contain the 'exit' keyword it will hang when used as stdin. Version-Release number of selected component (if applicable): 6.1.1 (ER5) How reproducible: Always. Steps to Reproduce: 1. echo 'ls' >/tmp/commands 2. ./jboss-cli.sh -c </tmp/commands Actual results: Hang. Expected results: List of service and exit. Additional info: https://bugzilla.redhat.com/show_bug.cgi?id=961425
as mentioned in 961425, this is fixed in aesh 0.33.8 and the patch needed for jboss-cli is attached to that issue as well. need to be confirmed by alexey.
this has been fixed in upstream wildfly8 under this issue: WFLY-1865
relevant EAP 6.x PR : https://github.com/jbossas/jboss-eap/pull/302
Set proper metadata.
*** This bug has been marked as a duplicate of bug 990227 ***