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 throught plink 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.standardi nput.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?
Thanks
I am trying to run a .sh file with plink from vb.net.
I am now able to run the .sh on vb.net throught plink 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.standardi nput.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?
Thanks
Comment