delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/13/15:32:27

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: cygwin 1.5.18-1 + Perl + open-pipe + native executable
Date: Tue, 13 Dec 2005 14:25:03 -0600
Lines: 17
Message-ID: <dnnamu$kjk$1@sea.gmane.org>
References: <BAY107-F278A9E08481D294E5F5DA8BA390 AT phx DOT gbl>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <BAY107-F278A9E08481D294E5F5DA8BA390@phx.gbl>
OpenPGP: url=ldap://keyserver.pgp.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

PPC Hacker wrote:
[snip]
> If $prog is a native windows executable and a shell isn't required
> (i.e., Perl does a direct fork/exec), the open hangs.
[snip]

The open doesn't hang, it's the windows executable that keeps waiting for i=
nput
on the pipe... and the pipe is not connected.

The reason and some explanation is on the User guide:

  http://cygwin.com/cygwin-ug-net/using-effectively.html#id4750591

HTH
--=20
Ren=E9 Berber


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