delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/18/18:42:25

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
Date: Thu, 18 Nov 2004 15:42:18 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Executing ssh from perl
Message-ID: <20041118234218.GB1188@efn.org>
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]>
Mime-Version: 1.0
In-Reply-To: <p0610050ebdc2bb230c14@[153.32.225.133]>
User-Agent: Mutt/1.4.1i
Organization: bs"d
X-IsSubscribed: yes

On Thu, Nov 18, 2004 at 12:56:19PM -0800, Stephen Studley wrote:
> If I use system("<cmd>"); instead of `<cmd>`;, the command returns 0, 
> (no hang).  Unfortunately system wont work for my needs, as it is 
> critical I evaluate stdout:stderr.

`` doesn't capture stderr; maybe you want IPC::Open3

--
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