[Top][All Lists]

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

Re: Load other program from emacs

From: Joakim Hove
Subject: Re: Load other program from emacs
Date: Wed, 05 Nov 2003 10:08:28 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

Li Chen <> writes:

> Is there any method which can load other programs within emacs and
> return the control to emacs immediately instead leave emacs waiting
> until that program was ended?

C-h f shell-command:

  shell-command is an interactive compiled Lisp function in `simple'.
  (shell-command COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER)

  Execute string COMMAND in inferior shell; display output, if any.
  With prefix argument, insert the COMMAND's output at point.

  If COMMAND ends in ampersand, execute it asynchronously.
  The output appears in the buffer `*Async Shell Command*'.
  That buffer is in shell mode.

So, adding an "&" at the end of the command should do the trick?

HTH - Joakim

 / Joakim Hove  /  /  (55 5) 84076       |                 \
 | Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
 | CMU                                                | 5231 Paradis    |
 \ Thormøhlensgt.55, 5020 Bergen.                     | 55 91 28 18     /

reply via email to

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