[Geany-Devel] spawn_kill_process TERM or KILL?
Dimitar Zhekov
dimitar.zhekov at xxxxx
Tue Sep 22 14:35:45 UTC 2015
Hi, all,
Should spawn_kill_process send a SIGTERM or SIGKILL to the child under *nix?
- SIGTERM lets the child exit gracefully, removing temporary files etc.
- the original build.c:kill_process from Geany <= 1.24 sends SIGTERM
- the child may refuse to terminate on SIGTERM (or be unable to respond
to it because of blocking I/O)
- under Windows, TerminateProcess() is an equivalent of SIGKILL, not SIGTERM
- the API name is "kill", not terminate.
--
E-gards: Jimmy
More information about the Devel
mailing list