Quantcast
Channel: SSH.NET Library
Viewing all articles
Browse latest Browse all 2955

New Post: SSH.NET Shell display output at the last line

$
0
0
say you issue the following command:

apt-get install MySql

this command generates an output where some of the text is displayed line by line and some should be displayed at the last line. Here is an example :

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree


Reading state information... 0%

Reading state information... 1%

Reading state information... Done


These lines should be overwritten. How to handle this output stream to emulate what remote shell does.
I am using ShellStream functionality

Thank you.

Viewing all articles
Browse latest Browse all 2955

Trending Articles



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