TC wrote: > He is probably tring to do some stuff with the commit & loginfo scripts & > they hide in $TMPDIR/cvs-serv[pid] (server.c) & if script he is in is > calling > out to get the parent process id he's not going to find the right > cvs-serv[pid] dir > with the contant he is expecting ... We have a winner. So is it then true in general (I am almost 100% sure that it is) that in between the commitinfo/verifymsg scripts getting executed and the loginfo script getting executed some other program in the system could come along and grab a PID, thus making the delta between the loginfo ppid and the commitinfo ppid be greater than 3? That is, the fact that I'm seeing nothing grabbing a pid inbetween the fork and exec calls doesn't mean that something COULDN'T grab a PID at that point. SO I really shouldn't rely on the delta being 3 at all, should I. Cheers, Laird
- CVS pids and the pids of its kids Laird Nelson
- Re: CVS pids and the pids of its kids Donald Sharp
- Re: CVS pids and the pids of its kids Laird Nelson
- Re: CVS pids and the pids of its kids Donald Sharp
- Re: CVS pids and the pids of its kids Laird Nelson
- Re: CVS pids and the pids of its k... Donald Sharp
- Re: CVS pids and the pids of its kids Larry Jones
- Re: CVS pids and the pids of its kids TC
- Re: CVS pids and the pids of its kids Laird Nelson
- Re: CVS pids and the pids of its kids Donald Sharp
- RE: CVS pids and the pids of its kids Chris Cameron
- Re: CVS pids and the pids of its kids Mike Castle
- Re: CVS pids and the pids of its kids Eric Siegerman
- Re: CVS pids and the pids of its kids Laird Nelson
- Re: CVS pids and the pids of its kids Eric Siegerman
- RE: CVS pids and the pids of its kids Reinstein, Shlomo
- Re: CVS pids and the pids of its kids Laird Nelson
- RE: CVS pids and the pids of its kids Reinstein, Shlomo
- Re: CVS pids and the pids of its kids Rich Salz