delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/19/19:30:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <gp AT familiehaase DOT 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 AT adobe DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Executing ssh from perl
References: <p0610050abdc2a0cde006@[153.32.225.133]> <Pine DOT GSO DOT 4 DOT 61 DOT 0411181407420 DOT 17559 AT slinky DOT cs DOT nyu DOT edu> <p0610050bbdc2adfcf70d@[153.32.225.133]> <Pine DOT GSO DOT 4 DOT 61 DOT 0411181537080 DOT 17559 AT slinky DOT cs DOT nyu DOT edu> <p0610050ebdc2bb230c14@[153.32.225.133]> <Pine DOT GSO DOT 4 DOT 61 DOT 0411181627330 DOT 17559 AT slinky DOT cs DOT nyu DOT edu> <p06100516bdc2e4e1d4ae@[153.32.225.133]>
In-Reply-To: <p06100516bdc2e4e1d4ae@[153.32.225.133]>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019