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