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: Sat, 27 Jul 2013 11:48:34 +0300

> Date: Fri, 26 Jul 2013 16:18:42 -0700 (PDT)
> From: gentsquash@gmail.com
> 
> Thanks, all, for your replies.  I realize that I didn't give
> enough information.  I'm running
> 
>    GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
> 
> under Mac OS.  It appears there is no `list-system-processes' in Emacs22.

Indeed.  Why not upgrade?

>     Eli Zaretskii
>     > From: Drew Adams <drew....@oracle.com>
>     > ... That led me to `process-list', which I imagine you
>     > can use to get what you want.
> 
>     These are for processes that Emacs launched.  Other processes
>     running on the system will not show.
>     \________________________________________________________/
> 
> 
> In a shell, inside Emacs, I can run
> 
>       open /Applications/ChessJK/ScidvsMac.app
> 
> However, I don't think this counts as launching-from-Emacs

It doesn't.  Emacs subprocesses are those created by call-process,
call-process-region, and start-process.

> So... If I wanted to "launch" ScidvsMac (a chess database program)
> from Emacs, under Mac OS, how would I do it?

Use start-process.  There are commands that use that, from Dired, for
example.




reply via email to

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