in reply to Re: Passing password with command
in thread Passing password with command

Using a here document means that the input is being read from STDIN, which isn't what is needed.

Replies are listed 'Best First'.
Re^3: Passing password with command
by runrig (Abbot) on Sep 14, 2007 at 21:52 UTC
    Maybe what I wrote is confusing...I said (or tried to say) to try a here document, and if it doesn't work, then the command does not read from STDIN, and then go look into expect.