Hi everyone,
is it possible to configure iTerm so that closing a tab terminates all child processes?
Namely, given this flow:
1. I open a new tab
2. I start some process in the new tab (i.e. "tail -f somefile")
3. I open another tab, and I close the first one
4. doing "ps | grep somefile" in the new tab I still see the "tail"
what I would expect is that all non daemon-ized child processes would just quit,
but they hang around.
I think what I'm saying is that I'd expect each shell in a tab to act as a session leader,
and closing it should kill all child processes, but this does not happen.
I tried to find info regarding this in the archives and on the internet at large, but my
search-fu is not enough.
FWIW, I am using iTerm2 (Build 3.0.10) on macOS Sierra (10.12.1)