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

New Post: Using both RunCommand and ShellStream

$
0
0
Hello:

I know how to use RunCommand to get output text, error text and the return code. I also have been looking at examples of how to use ShellStream to interact with the shell. In my case I need to execute a command that runs for a long time with lots of output. The command eventually terminates and returns a return code which I need.

But I also need to the see the out as it is being written rather than waiting until the end. How do I accomplish both these tasks at the same time?

Thanks

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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