Interrupt Signals

Mark Sicignano mark at hsi.com.
Tue Oct 9 00:41:22 AEST 1990


I have a program that when run, fork()s, the parent exits, and 
the child continues to run in the background.  

I don't handle any signals specially.  I fire up this program
in my .profile, but when I press ^C, my keyboard interrupt,
the program exits.  If I run this program at my prompt, however,
the program does not exit when I press the ^C.  

Why is this so??

Ksh Version 11/16/88d on a 4.3 BSD system.

-mark
-- 
Mark Sicignano                                  ...!uunet!hsi!mark
3M Health Information Systems                   mark at hsi.com



More information about the Comp.unix.shell mailing list