From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Detecting a running process in Elisp
Date: Sat, 27 Jul 2013 11:48:34 +0300 [thread overview]
Message-ID: <83ehakz8v1.fsf@gnu.org> (raw)
In-Reply-To: <8426374f-5db2-4d36-b3ce-6446999ae048@googlegroups.com>
> 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.
next prev parent reply other threads:[~2013-07-27 8:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 15:26 Detecting a running process in Elisp gentsquash
2013-07-26 15:37 ` Eli Zaretskii
2013-07-26 15:50 ` Drew Adams
2013-07-26 15:54 ` Eli Zaretskii
[not found] ` <<83siz1z58a.fsf@gnu.org>
2013-07-26 16:17 ` Drew Adams
2013-07-26 18:49 ` Eli Zaretskii
[not found] ` <<83mwp9yx5f.fsf@gnu.org>
2013-07-26 18:54 ` Drew Adams
[not found] ` <mailman.1854.1374853118.12400.help-gnu-emacs@gnu.org>
2013-07-26 16:58 ` Pascal J. Bourguignon
2013-07-26 18:33 ` Eli Zaretskii
[not found] ` <mailman.1870.1374863596.12400.help-gnu-emacs@gnu.org>
2013-07-26 20:57 ` Pascal J. Bourguignon
2013-07-27 7:43 ` Eli Zaretskii
2013-07-26 23:18 ` gentsquash
2013-07-26 23:57 ` Drew Adams
2013-07-27 8:48 ` Eli Zaretskii [this message]
2013-07-27 9:07 ` Peter Dyballa
2013-07-27 10:20 ` Pascal J. Bourguignon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ehakz8v1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.