unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dave Abrahams <dave@boostpro.com>
Cc: emacs-devel@gnu.org
Subject: Re: Inferior process mystery
Date: Wed, 25 Apr 2012 11:32:58 -0400	[thread overview]
Message-ID: <jwvfwbrj08i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m2y5pjeuoc.fsf@boostpro.com> (Dave Abrahams's message of "Wed, 25 Apr 2012 10:46:11 -0400")

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

Could it be that your PATH and your `exec-path' don't hold the same list
of directories?


        Stefan



      parent reply	other threads:[~2012-04-25 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 14:46 Inferior process mystery Dave Abrahams
2012-04-25 15:21 ` 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 [this message]

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=jwvfwbrj08i.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=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).