unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: emacs-devel@gnu.org
Subject: Inferior process mystery
Date: Wed, 25 Apr 2012 10:46:11 -0400	[thread overview]
Message-ID: <m2y5pjeuoc.fsf@boostpro.com> (raw)


Any of the following will launch /opt/local/bin/python, which is in my
PATH:

 * `M-! python RET'
 * `M-! python& RET'
 * `M-x shell RET python RET'
 * `C-u M-x run-python RET env python RET'

However, although the variable `python-command' has the value "python",
either of these will launch /usr/bin/python:

 * `M-x run-python'
 * `C-u M-x run-python RET python RET'

I'm at a loss to explain why python-command is not selecting the same
Python that's in my PATH and run by env.  Can someone explain why this
is happening?

Many thanks in advance,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com





             reply	other threads:[~2012-04-25 14:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 14:46 Dave Abrahams [this message]
2012-04-25 15:21 ` Inferior process mystery Andreas Schwab
2012-04-25 17:20   ` Dave Abrahams
2012-04-25 18:02     ` Andreas Schwab
2012-04-25 19:15       ` Ivan Andrus
2012-04-26  2:21         ` John Wiegley
2012-04-26 16:17       ` Dave Abrahams
2012-04-25 15:32 ` Stefan Monnier

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=m2y5pjeuoc.fsf@boostpro.com \
    --to=dave@boostpro.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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