How to get user input executing a remote shell script

Advertisement

ivarodr
Joined:
Posts:
6
Location:
Spain

How to get user input executing a remote shell script

Hi, i am executing a shell script with the command call myScript.sh in which i ask some user input.
My question is: How can i get this user input?
The problem is that it is impossible to send data to the console, it seems that the console is stalled.

THX.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Ok, it is impossible

ivarodr wrote:

Then there is no way to save this pissue??
You would have to collect the input prior to starting the WinSCP script and pass it at command-line argument to your shell script.

Reply with quote

Advertisement

You can post new topics in this forum