X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <46E1A9C3.2040704@cygwin.com> Date: Fri, 07 Sep 2007 15:42:59 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Ctrl-C will not kill a process started from cygwin shell References: <32d701820709071142u31898d8aq15a5f5baedbf0114 AT mail DOT gmail DOT com> In-Reply-To: <32d701820709071142u31898d8aq15a5f5baedbf0114@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Alex Worden wrote: > Hi, > > I'm sorry if this is an obvious question but I searched and couldn't > find an obvious answer and wasn't sure what to search for... > > It seems that some processes I start from a cygwin shell start in the > foreground - whereas if I start them from a cmd shell they start in > the background. (I know I can append an & but that's not the point > here). One process I know of in particular is my favoured Micro Emacs > editor (available at http://www.jasspa.com/). When this starts in the > foreground from cygwin, even Ctrl-C will not kill the process. What > determines this behavior and can I do anything about it. > > I ask because more importantly, I am running into issues running Maven > tasks that do not return to the shell after completion. The only > option available to be is to kill the entire cygwin shell. > > Please can someone explain what might be happening here, or point me > at documentation on this subject. You're much better off directing these kinds of questions to the provider of the package. Discussion of external packages is not wholly on-topic here. My WAG on your CTRL-C problems, based on lack of input about your environment, you don't have 'tty' in your CYGWIN environment variable. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/