Proper handling of signals
Ignore the signals when a trying to kill an empty process group. When a non-interactive shell is stopped because of a signal, raise it at exit to let the error bubble.
Ignore the signals when a trying to kill an empty process group. When a non-interactive shell is stopped because of a signal, raise it at exit to let the error bubble.