Thursday, November 22, 2018

non-interactive sh and SIGTERM

It seems that non-interactive sh(1) (i.e. sh -c command or sh file)
ignores the TERM signal. I'm surprised, is this the intended behaviour?
The man page says that interactive shells will ignore SIGTERM, but does
not mention the non-interactive case.

No comments:

Post a Comment