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
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Reply via email to