[
https://issues.apache.org/jira/browse/SSHD-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619670#comment-17619670
]
Lyor Goldstein commented on SSHD-1305:
--------------------------------------
{quote}
I tried ChannelExec#setRedirectErrorStream(boolean) and
ChannelExec#isRedirectErrorStream()
{quote}
This is all there is since there is no default implementation for redirecting
STDIN/STDOUT - +you+ are supposed to provide the relevant streams anyway when
you set up {{ChannelExec}}. The only reasonable redirection is to use STDOUT as
STDERR stream as well.
> ProcessBuilder redirection equivalents for ChannelExec
> ------------------------------------------------------
>
> Key: SSHD-1305
> URL: https://issues.apache.org/jira/browse/SSHD-1305
> Project: MINA SSHD
> Issue Type: Question
> Affects Versions: 2.9.1
> Environment: Java 8
> Reporter: dgü
> Priority: Major
>
> Hello!
> are there any equivalents of _ProcessBuilder#redirectError(...)_,
> _ProcessBuilder#redirectInput(...)_ and _ProcessBuilder#redirectOutput(...)_
> for _org.apache.sshd.client.channel.ChannelExec_ ?
> Thanks in advance...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]