[JSch-users] stdout and stderr question
Status: Alpha
Brought to you by:
ymnk
From: Offer B. <off...@gm...> - 2016-09-06 09:47:17
|
Hi everyone, We have been using JSCH for a long time now... We are using an ChannelExec to run our commands. Up until now we always read both the input and err streams and combined their output into one string. We now want to split those streams into different strings and to allow the calling program to decide what to do with each stream... When i tried to debug this, i have found that reading from the input stream returns back both stdout and stderr... in fact the err stream is empty... is this a known feature/bug? is there a proper way to do this? thanks in advance! Offer Baruch |