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.
- non-interactive sh and SIGTERM Olivier Taïbi
- Re: non-interactive sh and SIGTERM Philip Guenther
- Re: non-interactive sh and SIGTERM Olivier Taïbi
- Re: non-interactive sh and SIGTERM Olivier Taïbi
- Re: non-interactive sh and SIGTERM Olivier Taïbi
- Re: non-interactive sh and SIGTERM Philip Guenther
- Re: non-interactive sh and SIGTE... Olivier Taïbi