[
https://issues.jboss.org/browse/AS7-4906?page=com.atlassian.jira.plugin.s...
]
Dominik Pospisil commented on AS7-4906:
---------------------------------------
Thanks Alexey. I missed that I can get the console output stream. The problem I had with
that was that relying on reading CLI output to determine when the command has finished is
not always possible without some sort of hack. That requred waiting which slowed test
execution. But if the handle method is synchronous and one can assume that when it returns
all the output is already in the stream than it is fine.
CLI API: provide mechanism to read CLI output
---------------------------------------------
Key: AS7-4906
URL:
https://issues.jboss.org/browse/AS7-4906
Project: Application Server 7
Issue Type: Feature Request
Components: CLI
Affects Versions: 7.2.0.Alpha1
Reporter: Dominik Pospisil
Assignee: Alexey Loubyansky
CLI provides Java API to connect to CLI and execute commands. However, it does not seem
possible to read CLI output using this API. This limits API usability for testing purposes
to non-verbose commands only.
It would be nice if the API provies a way how to read console output.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira