unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xue Fuqiao <xfq.free@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: About "program" and "command"
Date: Sun, 24 Mar 2013 20:32:01 +0800	[thread overview]
Message-ID: <20130324203201.ba16eb6670cb2a2a0ee6b096@gmail.com> (raw)

The doc string of `call-process' says:

  Call PROGRAM synchronously in separate process.

The doc string of `call-process-shell-command' says:

  Execute the shell command COMMAND synchronously in separate process.

What's the different of these two functions?  In other words, what's the
difference of "program" and "command" here?  After searching the
archives, I found two threads[1][2], but they don't help.  So can I get
a pointer to information on these two concepts?


[1] http://lists.gnu.org/archive/html/help-gnu-emacs/2010-09/msg00009.html
[2] http://lists.gnu.org/archive/html/help-gnu-emacs/2007-10/msg00059.html

-- 
Xue Fuqiao
http://www.gnu.org/software/emacs/



             reply	other threads:[~2013-03-24 12:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 12:32 Xue Fuqiao [this message]
2013-03-24 13:42 ` About "program" and "command" Andreas Röhler
2013-03-24 14:30 ` Yuri Khan
     [not found] <mailman.22746.1364128338.855.help-gnu-emacs@gnu.org>
2013-03-24 14:34 ` Barry Margolin
2013-03-24 14:34 ` Pascal J. Bourguignon

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=20130324203201.ba16eb6670cb2a2a0ee6b096@gmail.com \
    --to=xfq.free@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).