isync has asked for the wisdom of the Perl Monks concerning the following question:
my @scp = ("scp", "long command line...") my $h = start(\@scp, \$in, \$out); $in = "mypassword\n"; pump $h if $out =~ /password/i;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IPC::Run and scp's password entry
by mr_mischief (Monsignor) on Dec 19, 2008 at 18:54 UTC | |
by isync (Hermit) on Dec 19, 2008 at 19:13 UTC | |
by mr_mischief (Monsignor) on Dec 19, 2008 at 19:56 UTC | |
by isync (Hermit) on Dec 19, 2008 at 22:00 UTC | |
|
Re: IPC::Run and scp's password entry
by zentara (Cardinal) on Dec 19, 2008 at 19:49 UTC | |
by ikegami (Patriarch) on Dec 19, 2008 at 19:57 UTC | |
|
Re: IPC::Run and scp's password entry
by salva (Canon) on Dec 24, 2008 at 16:08 UTC |