The problem with using one of the IPC:: modules rather than Expect is that many programs which want to read a password will reopen the process' controlling terminal (i.e. /dev/tty) rather than using STDIN and bypass them completely. Since Expect runs the child process on a pty it can handle this case.
In reply to Re^2: Opening Linux Commands
by Fletch
in thread Opening Linux Commands
by £okì
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |