raz / commit df7dbf84

commit
df7dbf847aa7e1ace523ed157c8bd7dc7159f3eb
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
7e0585e9
PROPOSALS.md: setsid's case said plainly

patch · log

1 file changed, +3 -4

PROPOSALS.md modified +3 -4

@@ -1160,10 +1160,9 @@
11601160 A daemon forks, and its child calls `setsid` so that the terminal it
11611161 was started from is no longer its own: closing that terminal sends it
11621162 no `SIGHUP`, and the terminal's job control doesn't reach it. Without
1163-it, a program can only ignore `SIGHUP` (`Sys.ignore`), and stays in
1164-the terminal's process group and session, so a Ctrl-C there still
1165-reaches it unless it ignores `SIGINT` too, and a `SIGHUP` sent to the
1166-whole group by a shell that leaves is the only one it is spared.
1163+it, a program can ignore `SIGHUP` and `SIGINT` (`Sys.ignore`), but
1164+stays in the terminal's session and process group, so job control and
1165+any other signal sent to the group still reach it.
11671166
11681167 Met in rabble, whose daemon (its `PLAN.md`, from 0.2.0) is started by
11691168 the client with `fork` and must outlive the terminal (2026-10-21).