emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proced: ppid of process ID 0 can be 0


From: grischka
Subject: Re: proced: ppid of process ID 0 can be 0
Date: Wed, 24 Dec 2008 08:42:01 +0100

> That's not what I'm asking.  I'm asking: what can C code (or 
> Elisp code or that matter) do when the ppid is somehow not 
> found (i.e. there's no ppid available, but the process might 
> have a parent).

Well, for example:

(when 
  (although
   (maybe-not (process-tree-root-p pid))
   (somehow-not-found-p (process-parent pid))
   )
  (with the-thing
    (begin-to-believe 
       (if (y-or-n-p "Continue? ") 'funny 'strange)
       )))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]