Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: $PPID not updated when the PPID changes (parent killed)



On 2021-05-16 11:37:15 -0700, Bart Schaefer wrote:
> On Sun, May 16, 2021 at 8:24 AM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> >
> > i.e. $PPID is not updated when the PPID changes, i.e. the parent
> > process is killed.
> 
> $PPID means the ID of the process that spawned this one, not the
> current value of getppid().

OK, then I think that this should be clarified in the man pages.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




Messages sorted by: Reverse Date, Date, Thread, Author