Subject: Re: bug#1474: 23.0.60; desktop.el don't check if pid in his lock file is always in use

From: "Juanma Barranquero" <[email-masked]>
Date: Tue, 2 Dec 2008 23:39:52 +0100

On Tue, Dec 2, 2008 at 22:43, Thierry Volpiatto
<[email-masked]> wrote:

> | (eq 0 (call-process-shell-command (format "ps -u %s | grep emacs | grep %d" (getenv "USER") owner)))

In Emacs 23.X I think you could use `system-process-attributes'
instead of running an external ps process.

But one way or the other, what if the desktop lock file resides in a
non-local drive?

  Juanma