You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run a command like zowe ssh issue cmd "chcp -e IBM-1047; cat test.txt" the zowe command will print output to the second to last line from the output of the command. E.g., in this case if text.txt contained:
1
2
3
Zowe CLI would print out:
$ 1
2
and then hang, requiring the user to CTRL-C to terminate the process.
Expected and actual results
I would expect all of the output to be printed and for Zowe CLI to exit.
Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
JTonda
added
research
We need to learn more about a topic or problem before addressing it.
and removed
new
The issue wasn't triaged yet
labels
Dec 16, 2024
Investigate if breaking the commands (;) and sending them separately to the SSH client works.
If not, we should check that we can submit multiple commands at once. For example: echo "Hello"; echo " World!"
If the two echo commands work, then we should document that our SSH command capabilities may not work with commands that attempt to change codepages (chcp) 😋
Describe the bug
If I run a command like
zowe ssh issue cmd "chcp -e IBM-1047; cat test.txt"
the zowe command will print output to the second to last line from the output of the command. E.g., in this case iftext.txt
contained:Zowe CLI would print out:
and then hang, requiring the user to CTRL-C to terminate the process.
Expected and actual results
I would expect all of the output to be printed and for Zowe CLI to exit.
Describe your environment
Additional context
chcp
can be used to change encoding settings for an active ssh session: https://www.ibm.com/docs/en/zos/3.1.0?topic=descriptions-chcp-set-query-asciiebcdic-code-pages-terminalThe text was updated successfully, but these errors were encountered: