unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joakim Hove <hove@bccs.no>
Subject: Re: Load other program from emacs
Date: Wed, 05 Nov 2003 10:08:28 +0100	[thread overview]
Message-ID: <4yk76fkws3.fsf@skjellgran.ii.uib.no> (raw)
In-Reply-To: Pine.WNT.4.58.0311051827170.2388@NingNing


Li Chen <cli2@student.monash.edu.au> 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  / hove@bccs.no  /  (55 5) 84076       |                 \
 | Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
 | CMU                                                | 5231 Paradis    |
 \ Thormøhlensgt.55, 5020 Bergen.                     | 55 91 28 18     /
  \--------------------------------------------------------------------/

  reply	other threads:[~2003-11-05  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-05  7:32 Load other program from emacs Li Chen
2003-11-05  9:08 ` Joakim Hove [this message]
2003-11-06  2:03   ` Richard
2003-11-06 18:20     ` Kevin Rodgers
2003-11-05 10:47 ` Thien-Thi Nguyen
2003-11-05 15:57 ` Barry Margolin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4yk76fkws3.fsf@skjellgran.ii.uib.no \
    --to=hove@bccs.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).