Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <419E9020.3010609@familiehaase.de> Date: Sat, 20 Nov 2004 01:30:24 +0100 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: Stephen Studley CC: cygwin AT cygwin DOT com Subject: Re: Executing ssh from perl References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/