my @scp = ("scp", "long command line...") my $h = start(\@scp, \$in, \$out); $in = "mypassword\n"; pump $h if $out =~ /password/i; [download]
In reply to IPC::Run and scp's password entry by isync