X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@phx.gbl>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

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/

