Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27408

VS 2010 running plink with user input interaction from vb.net

$
0
0
Hi there,

I am trying to run a .sh file with plink from vb.net.
I am now able to run the .sh on vb.net but i have a problem because the .sh script require user input:

The .sh is prompting a few question and require user to input y/n to proceed.
I am trying plink.standardinput.writeline("y") but it looks like this input is not feed to the .sh script but rather to the plink session after the .sh script ended.
Any idea about this or is there any other way for this? Any help is m uch appreciated... I am stuckced. :(


Thanks,
SY

Viewing all articles
Browse latest Browse all 27408

Trending Articles



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