[Top][All Lists]

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

Re: Inferior process mystery

From: Stefan Monnier
Subject: Re: Inferior process mystery
Date: Wed, 25 Apr 2012 11:32:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

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

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


reply via email to

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