[
https://jira.jboss.org/browse/TEIID-1355?page=com.atlassian.jira.plugin.s...
]
Steven Hawkins commented on TEIID-1355:
---------------------------------------
The difference is probably in the shell behavior. The launching scripts are not really
any different and just launch the same main. Anything piped in via a unix like shell is
getting properly converted to a string prior to execution. This must not be the case on
windows. I couldn't find any description of this problem with windows scripts with
just a cursory search. Do we have any windows scripting experts that could weigh in?
adminshell.bat cannot read script from stdin
--------------------------------------------
Key: TEIID-1355
URL:
https://jira.jboss.org/browse/TEIID-1355
Project: Teiid
Issue Type: Bug
Components: Tools
Affects Versions: 7.1
Environment: windows
Reporter: Aleksandar Kostadinov
On windows adminshell doesn't read script if supplied on stdin. It looks like it is
reading from terminal (unlike adminshell on linux). I see that one can supply expression
as first argument to adminshell but it seems to accept only a single expression and
additionally complex expressions are a hell to escape properly.
Assuming adminshell is intended to be used for automating administrative tasks, it needs
a straightforward way to execute scripts non-interactively so current behavior on windows
needs to be fixed.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira