guile-ssh icon indicating copy to clipboard operation
guile-ssh copied to clipboard

[Question] How to read both stderr and stdout?

Open graywolf opened this issue 1 year ago • 2 comments

In the documentation I see that I can pick what output I want to read using channel-set-stream!. I can get both by using tr mode, but they are joined into single stream (as documented). I would like to be able to read both, but as separate streams.

It that possible?

My use case is to run remote command, capture the stdout for further processing, but display stderr to the user.

graywolf avatar May 03 '24 19:05 graywolf