[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing External Programs from Emacs

From: tyler
Subject: Re: Executing External Programs from Emacs
Date: Sat, 14 Feb 2009 16:30:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

dstein64 <address@hidden> writes:

> Are there any functions that can launch external programs (not just
> command line programs, but also GUI programs) from Emacs?

>From a shell within Emacs, call the command followed by '&'. You can
also do this from with the 'shell-command' function, which is invoked
with M-!. So, to call a pdf viewer, for example, you could do:

M-! xpdf & <return>



> 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.

Philosophy of science is about as useful to scientists as ornithology is
to birds.                              --Richard Feynman

reply via email to

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