From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Executing External Programs from Emacs Date: Sat, 14 Feb 2009 11:53:12 +0100 Message-ID: References: <1a12217a-86cb-4088-8fd1-731ce415e68a@z28g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234608838 32667 80.91.229.12 (14 Feb 2009 10:53:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 10:53:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: dstein64 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 11:55:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LYIAy-0006ZZ-O5 for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Feb 2009 11:55:13 +0100 Original-Received: from localhost ([127.0.0.1]:34515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYI9e-0003RZ-Lt for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Feb 2009 05:53:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LYI96-0003Qz-0I for help-gnu-emacs@gnu.org; Sat, 14 Feb 2009 05:53:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LYI94-0003QM-BD for help-gnu-emacs@gnu.org; Sat, 14 Feb 2009 05:53:15 -0500 Original-Received: from [199.232.76.173] (port=53067 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYI93-0003QB-U5 for help-gnu-emacs@gnu.org; Sat, 14 Feb 2009 05:53:14 -0500 Original-Received: from mail-bw0-f208.google.com ([209.85.218.208]:61128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LYI93-0002dU-Dx for help-gnu-emacs@gnu.org; Sat, 14 Feb 2009 05:53:13 -0500 Original-Received: by bwz4 with SMTP id 4so3028753bwz.18 for ; Sat, 14 Feb 2009 02:53:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HMnuQctNys5aNknfgeK9bBXzC1c/62EgqTrq3XTpiL4=; b=hYiWQjepGUtFNLGH+wfF4h2dKO6jfGD5Z5tXdI/gydVPYK1TX1Vf8QplUfEs1sSP6J sTtWta6r+MXJyRNqygl3Al3r5yDnlNwxzUWuOuZnEpEXyfafbK5lvMYpoHP/op/xOcsz ISddKfKC6TTAZqW/4Jwu+fcucEbDQp8Hu9KHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JMrlisBJdc0pedec9h0ubp+eiIsh/HESgHs8Pha2tEs4Z3DtOqhbka2+36egm3cEnE JuR2qC7Cv8pBDKkZaMDoLGEOOwkJuNr7Iyb507mXk3qLLIp64T1eI80D8XgO4u55yd+R 0yUr8ZEvrC8sF0pG29u2JQEsAMzEwHjtMMULI= Original-Received: by 10.223.111.71 with SMTP id r7mr108923fap.59.1234608792145; Sat, 14 Feb 2009 02:53:12 -0800 (PST) In-Reply-To: <1a12217a-86cb-4088-8fd1-731ce415e68a@z28g2000prd.googlegroups.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62125 Archived-At: On Sat, Feb 14, 2009 at 7:48 AM, dstein64 wrote: > Are there any functions that can launch external programs (not just > command line programs, but also GUI programs) from Emacs? I know that > I can access a shell, and call a program from there, but then emacs is > not operable until I close the program. Prepending the command with > `nohup' is useful, but for some reason it does not work as expected > with all programs, including emacs. I would prefer another way of > doing this - using a specific built-in of emacs lisp if one exists. > Any help would be greatly appreciated. Thanks. This is OS dependent. There are some examples on EmacsWiki for MS Windows.