in reply to The process that would not die

The program might change terminal settings (with the stty program or the Termios functions of POSIX or with low-level ioctls or any other way) in such a way that signal-sending magic characters are not respected (the isig property, or it could change or disable the interrupt character only). Try sending the program a SIGINT with kill -INT instead of control-C to see if it works.

Replies are listed 'Best First'.
Re^2: The process that would not die
by AlanOlsen (Initiate) on Feb 21, 2006 at 22:15 UTC
    The kill -INT did not solve it, but it gave me the clue as to what is going on.

    The program has this weird way of logging that throws off a child process. When control-c is pressed, it kills off the logging process and somehow the original controlling process is dropped into background instead of figuring out it should die too.

    Now I know what to fix. Thanks!