Elixir/Ports and external process wiring: Difference between revisions
→Future directions: teaser about process groups |
m →Reliable clean up: fix link syntax |
||
| Line 168: | Line 168: | ||
Which signal to use is still an open question: | Which signal to use is still an open question: | ||
; <code>HUP</code> : sent to a process when its standard input stream is closed<ref>[https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap11.html#tag_11_01_10 POSIX standard "General Terminal Interface: Modem Disconnect"</ref> | ; <code>HUP</code> : sent to a process when its standard input stream is closed<ref>[https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap11.html#tag_11_01_10 POSIX standard "General Terminal Interface: Modem Disconnect"]</ref> | ||
; <code>TERM</code> : has a clear intention of "kill this thing" but still possible to trap at the target and handle in a customized way | ; <code>TERM</code> : has a clear intention of "kill this thing" but still possible to trap at the target and handle in a customized way | ||