Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <419E9020.3010609@familiehaase.de>
Date: Sat, 20 Nov 2004 01:30:24 +0100
From: "Gerrit P. Haase" <gp@familiehaase.de>
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 <sstudley@adobe.com>
CC: cygwin@cygwin.com
Subject: Re: Executing ssh from perl
References: <p0610050abdc2a0cde006@[153.32.225.133]> <Pine.GSO.4.61.0411181407420.17559@slinky.cs.nyu.edu> <p0610050bbdc2adfcf70d@[153.32.225.133]> <Pine.GSO.4.61.0411181537080.17559@slinky.cs.nyu.edu> <p0610050ebdc2bb230c14@[153.32.225.133]> <Pine.GSO.4.61.0411181627330.17559@slinky.cs.nyu.edu> <p06100516bdc2e4e1d4ae@[153.32.225.133]>
In-Reply-To: <p06100516bdc2e4e1d4ae@[153.32.225.133]>
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/

