I want to connect to a server and communicate with ssh.
So I tried to spawn the process of ssh using pipeProcess function, and read/write with its pipe's stdin and stdout.
But I don't know how many lines are sent from the server for an input, so readln function blocks.
I think this can be solved with non-blocking IO, but I cannot find how do I use non-blocking IO with phobos.
Please give me any ideas. Thanks.