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

New Post: Send and store results from multiple commands in the same connection

$
0
0
Thanks for the reply. From the linked example this simply writes text to the stream and then i can read it back.

I think i am mis-understanding the purpose of the ShellStream or just missing how to use it. Writing to the stream will just simply write the text to the stream it wont issue a terminal command and allow me to read the response?

I need to be able to keep a conversation going with terminal commands and read responses, like send("cd /wherever"), send("pwd"), verify.contains("cd /whatever")


Practically all of the ShellSteam examples i have seen or can find do not seem to be able to accommodate this like putty can.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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