help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Detecting a running process in Elisp


From: Eli Zaretskii
Subject: Re: Detecting a running process in Elisp
Date: Fri, 26 Jul 2013 18:37:45 +0300

> Date: Fri, 26 Jul 2013 08:26:25 -0700 (PDT)
> From: gentsquash@gmail.com
> 
> I have a process "ScidvsMac" which I'd like to detect in
> Elisp.  I'm currently using
> 
>     (search "ScidvsMac" (shell-command-to-string "ps -A"))
> 
> but is there something cleaner?

There's list-system-processes to list all of the processes, and
process-attributes to examine their attributes, including name,
command line, etc.



reply via email to

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