From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gentsquash@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Detecting a running process in Elisp Date: Fri, 26 Jul 2013 16:18:42 -0700 (PDT) Message-ID: <8426374f-5db2-4d36-b3ce-6446999ae048@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1374880820 8995 80.91.229.3 (26 Jul 2013 23:20:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2013 23:20:20 +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 01:20:20 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 1V2rJ6-0000wz-4d for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jul 2013 01:20:20 +0200 Original-Received: from localhost ([::1]:59679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2rJ5-0003jK-6d for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 19:20:19 -0400 X-Received: by 10.224.163.14 with SMTP id y14mr52012968qax.3.1374880723309; Fri, 26 Jul 2013 16:18:43 -0700 (PDT) X-Received: by 10.50.57.108 with SMTP id h12mr55395igq.0.1374880723271; Fri, 26 Jul 2013 16:18:43 -0700 (PDT) Original-Path: usenet.stanford.edu!gh1no569qab.0!news-out.google.com!dk8ni3qab.0!nntp.google.com!cb17no653qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.136.39.217; posting-account=LepcaQgAAACr4mTxtqQZ5RIS3kaWpFxN Original-NNTP-Posting-Host: 24.136.39.217 User-Agent: G2/1.0 Injection-Date: Fri, 26 Jul 2013 23:18:43 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:200199 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:92465 Archived-At: 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. [Aside: I've been quite happy with Carbon Emacs, but my understanding is that it is no longer updated. Is there a recommended version of Emacs23 (or 24?) for Mac users who are used to Carbon Emacs?] I had run `apropos' on "shell" and "command", but inexplicably didn't run it on "process". When I did that now, I didn't see -in Emacs22- a cmd for listing the system processes. /--------------------------------------------------------\ 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, and the ScidvsMac process does not show up in (process-list). Running `apropos' on "mac", and on "process", I did find `mac-process-activate', but this doesn't seem to be what I need. So... If I wanted to "launch" ScidvsMac (a chess database program) from Emacs, under Mac OS, how would I do it? Thanks again, everyone. -Jonathan