delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/07/13:26:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A084942.2C8051C@mmm.com>
Date: Tue, 07 Nov 2000 12:26:10 -0600
From: Michael Bresnahan <mbresnahan1 AT mmm DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: Job Control Problem on NT 4.0

I have a Microsoft nmake makefile that contains a for loop that runs
child makefiles recursively.  The makefile looks something like this:

--- begin ---
MAKE = nmake -nologo -f makefile.nt

build:
 for %i in (foo bar juice beef) do $(MAKE) make_dir DIR=%i

make_dir :
 cd $(DIR)
 $(MAKE) $(TARGET)
 cd ..
--- end ---

Since upgrading from Cygwin b20 I have been having trouble with this
makefile on NT 4.0sp4.  Everything is fine unless I try to abort the
build via Control-C.  When I hit Control-C, only the current
(foreground) make process is aborted.  The background loop continues
kicking off make processes.  However, subsequent Control-C's are
ineffective at aborting the make processes.  I have to resort to Task
Manager to abort them.  It appears that the parent background make with
the loop does not reaquire the terminal after I abort the child
foreground make and therefore does not recieve the Control-C's.

Is there some way I can work around this problem?

Any help would be greatly apprieciated.

Mike Bresnahan



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019