This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Executing ssh from perl
Stephen Studley wrote:
one very interesting discovery. If the command fails, it returns! It
would appear it hangs only when the command succeeds. If I mangle the
path to the ls command, ssh returns with file not found.
$ perl -we 'my $str=`ssh -n gerrit\@sourceware.org ls`;print "[$str]\n"'
Enter passphrase for key '/home/gerrit/.ssh/id_dsa':
[get-andrew.sh
libxslt
startup-notification
unison
]
Works for me too if it succeeds.
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/