-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.DR8
-
None
-
Regression
-
-
-
-
-
-
Description of problem:
Redirection (<, <<) do not work in CLI
How reproducible:
Always
Steps to Reproduce:
- echo ":shutdown" > c
- ./jboss-cli.sh -c < c
Actual results:
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
Expected results:
":shutdown" command will be executed
Another steps to reproduce:
- cd bin
- ./standalone.sh &
- ./jboss-cli.sh -c command=/core-service=management/security-realm=ApplicationRealm/authentication=local:remove
- ./jboss-cli.sh -c command=/core-service=management/security-realm=ManagementRealm/authentication=local:remove
- ./jboss-cli.sh -c command=:shutdown
- ./add-user.sh -u bob -p admin123$ -s
- ./standalone.sh &
./jboss-cli.sh -c <<EOF bob admin123$ batch :shutdown run-batch EOF
Actual results:
Unexpected command 'bob'. Type 'help --commands' for the list of supported commands.
Expected results:
":shutdown" command will be executed
Additional info:
Regression against 6.4.0
Regression against 7.0.0.DR7
Bugzilla from 6x
Customer cases (EAP 6x):
- is cloned by
-
WFCORE-877 Redirection (<, <<) do not work in CLI
- Resolved
- is related to
-
JBEAP-2890 Redirection (<<) do not work in CLI
- Closed
-
JBEAP-7510 Redirection (<, <<) do not work in CLI
- Closed
- relates to
-
AESH-105 Multi lines that ends with a new line are not parsed correctly
- Resolved