X-Spam-Check-By: sourceware.org Date: Wed, 10 Jan 2007 14:06:44 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: spawnvp is "unbreakable" for non-cygwin programs - Was: spawn doesn't return for non-cygwin programs (and also is unbreakable) Message-ID: <20070110190644.GB12026@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <45903C5C DOT 2030904 AT scytek DOT de> <20070102123909 DOT GB10840 AT trixie DOT casa DOT cgf DOT cx> <45A5362B DOT 6030903 AT scytek DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45A5362B.6030903@scytek.de> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, Jan 10, 2007 at 12:53:31PM -0600, Volker Quetschke wrote: >Christopher Faylor wrote: >>On Mon, Dec 25, 2006 at 04:02:20PM -0500, Volker Quetschke wrote: >>>I recently tripped over the following problem: If a non-cygwin >>>program gets started by cygwin's spawnvp() the spawn doesn't return >>>until the started program returns. >> >>Should be fixed in the latest snapshot. Thanks for the test case. > >Thanks! Now spawnvp() really behaves like spawn. > >As reported in the original mail, but only being a minor nuisance, >the spawned child is still not interruptible by CTRL-c when >CYGWIN=tty in bash from cmd.exe is used, or when rxvt is used. Since this isn't really a linux feature, I am willing to consider it a feature that spawned non-cygwin processes do not exit when you hit CTRL-C under control of a tty. cgf -- 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/