On 2022-11-06 11:32, Eli Zaretskii wrote:
My question was whether in this scenario, since the parent Emacs exits, the child Emacs can get SIGHUP, simply because its parent exited and the read end of the PTY no longer exists.
Yes, my sense from the few experiments I tried, is that it's a plausible scenario, though I never observed it actually happening for Emacs doing a subprocess compile.