Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 28 Feb 2001 18:47:32 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: spawn hangs for non-Cygwin programs
Message-ID: <20010228184732.G5603@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <3A9D6C7A.8E6A52FF@tensilica.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A9D6C7A.8E6A52FF@tensilica.com>; from bwilson@tensilica.com on Wed, Feb 28, 2001 at 01:24:10PM -0800

On Wed, Feb 28, 2001 at 01:24:10PM -0800, Bob Wilson wrote:
>I have a Cygwin program that contains the following call to invoke a
>child process:
>
>    pid = spawnvp((int)_P_NOWAIT, argv[0], argv);
>
>Sometime between Cygwin 1.1.4 and 1.1.8 it seems to have stopped
>working.  If the child is another Cygwin program, then everything is
>fine.  If the child was compiled with -mno-cygwin, however, the spawnvp
>call never returns (as if I hadn't specified _P_NOWAIT).
>
>Is this supposed to work?

Yes.

>If not, is it a known problem?

No.

>I'm tentatively planning to rewrite my code to call CreateProcess
>directly but I thought I should report the problem in case no one else
>has encountered this yet.

Or, you could debug the problem in Cygwin and submit a patch.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

