This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
GNU-Win32 BUG - Control-C terminates backgrounded jobs
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
- Subject: GNU-Win32 BUG - Control-C terminates backgrounded jobs
- From: Brian Sullivan <briansul at microsoft dot com>
- Date: Thu, 16 Apr 1998 19:48:29 -0700
The behavior occurs on both Beta 19 and 19.1
The problem:
Running jobs in the background, such as:
bash-2.01$ emacs bugreport.txt &
[1] 1004
bash-2.01$ jobs
[1]+ Running emacs &
$ <CNTL>-C
[1]+ Interrupt emacs
bash-2.01$
Typing Control-C interrupts both the foreground process (if there is one)
as it should,
but it also interrupts all of the backgrounded processes as well, like my
emacs process
above. This is very disturbing. Perhaps I am missing something like a
nohup,
but I can't think of what. Is there a way of protecting the backgrounded
process from
being killed when the interactive bash shell receives a control C.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".