On 2/6/23 10:26 PM, Martin D Kealey wrote:
By orthogonal, I meant these things should ideally be managed by separate controls: 1. ignoring signals (or not) 2. redirecting filedescriptors 3. immediately waiting on the process (or not) 4. creating new process groups 5. sending a signal to about-to-be orphaned children when the shell exits
In particular I'm thinking of options along the lines of: nohup --no-redir --[block/default/keep]=[INT,QUIT,HUP,...] (exact names not important; hopefully --long-options are self-explanatory)
I feel like this will turn into something like daemon(1), but if someone wants to take a shot -- using a new name, obviously -- let's talk about it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/