in reply to Re: How to control input of an external program?
in thread How to control input of an external program?

that will work for this specific instance, but what about in general?
  • Comment on Re^2: How to control input of an external program?

Replies are listed 'Best First'.
Re^3: How to control input of an external program?
by ikegami (Patriarch) on Nov 09, 2009 at 20:06 UTC
    You already have the general solution. (Send the input to the program's STDIN.) You're asking for a specific solution. (For some reason, curl reads the password from the tty, not STDIN.)