From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Detecting a running process in Elisp Date: Sat, 27 Jul 2013 11:48:34 +0300 Message-ID: <83ehakz8v1.fsf@gnu.org> References: <8426374f-5db2-4d36-b3ce-6446999ae048@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374914928 7189 80.91.229.3 (27 Jul 2013 08:48:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jul 2013 08:48:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 27 10:48:48 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V30BB-0004rm-Mz for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jul 2013 10:48:45 +0200 Original-Received: from localhost ([::1]:33037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V30BB-0007Vw-Cs for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jul 2013 04:48:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V30B0-0007Vn-N9 for help-gnu-emacs@gnu.org; Sat, 27 Jul 2013 04:48:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V30Az-0004JV-N2 for help-gnu-emacs@gnu.org; Sat, 27 Jul 2013 04:48:34 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V30Az-0004JG-Fx for help-gnu-emacs@gnu.org; Sat, 27 Jul 2013 04:48:33 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQL00M00720QK00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sat, 27 Jul 2013 11:48:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQL00MIM74VH760@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sat, 27 Jul 2013 11:48:32 +0300 (IDT) In-reply-to: <8426374f-5db2-4d36-b3ce-6446999ae048@googlegroups.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92471 Archived-At: > 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 > > ... 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.