[ 
https://issues.apache.org/jira/browse/SSHD-1276?focusedWorklogId=789269&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-789269
 ]

ASF GitHub Bot logged work on SSHD-1276:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jul/22 16:24
            Start Date: 09/Jul/22 16:24
    Worklog Time Spent: 10m 
      Work Description: lgoldstein closed pull request #231: [SSHD-1276] Added 
capability to redirect command/shell STDERR stream to STDOUT one
URL: https://github.com/apache/mina-sshd/pull/231




Issue Time Tracking
-------------------

    Worklog Id:     (was: 789269)
    Time Spent: 40m  (was: 0.5h)

> Add support for merged inverted output and error streams of remote process
> --------------------------------------------------------------------------
>
>                 Key: SSHD-1276
>                 URL: https://issues.apache.org/jira/browse/SSHD-1276
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 2.8.0
>         Environment: Java SE 8, Apache NetBeans IDE 8.2
>            Reporter: dgü
>            Assignee: Lyor Goldstein
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello!
> I want to merge output and error streams of remote process as 
> {{java.lang.ProcessBuilder#redirectErrorStream(true)}} does.
> If I set output and error streams;
> {quote}channelExec.setOut(mergedOutputStream);
> channelExec.setErr(mergedOutputStream);
> channelExec.open.verify();
> {quote}
> Then, {{ChannelExec#getInvertedOut()}} and {{ChannelExec#getInvertedErr()}} 
> return {{{}null{}}}.
> If I don't set output and error streams;
> {quote}//channelExec.setOut(mergedOutputStream);
> //channelExec.setErr(mergedOutputStream);
> channelExec.open.verify();
> {quote}
> Then, {{ChannelExec#getInvertedOut()}} and {{ChannelExec#getInvertedErr()}} 
> return not {{{}null{}}}. But, streams are not merged.
> How can I merge output and error streams of remote process ?
> 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]

Reply via email to