Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: ShellStream, end of command / waiting for input

$
0
0
@washirv,

The short answer is "Yes." You can look for a prompt, and/or apply a timeout. You can even extend and write your own, which others have done.

Many have posted working examples in these discussion groups, and you can even look at (or compile if you like) the source code tests (something I never do when I write, I'm ashamed to say), which you can find here.

As you can see by the source, it is an extremely large and comprehensive effort, and one with an interesting history. When you get something working well, please think about posting it in the discussions. Who knows? It might make it into some more formal docs in future! :)

pat
:)

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>