Open
Description
Is your enhancement related to a problem? Please describe
There are several places where the client only accepts OutputStreams.
Describe the solution you'd like
Exec and log watch should accept WritableByteChannels as well and the code should handle the non-blocking case in a way that does not hold a thread
The initial changes for #4149 make the code aware of non-blocking, but will still hold the thread for the duration of the write.
Describe alternatives you've considered
No response
Additional context
No response