Re: [code] [textadept] and spawn environment

From: Mitchell <>
Date: Tue, 19 Jan 2016 20:47:55 -0500 (EST)

Hi Robert,

On Mon, 18 Jan 2016, Robert Gieseke wrote:

> Hi Mitchell,
> Am 17/01/16 um 21:59 schrieb Mitchell:
>>> I think the change in lspawn around Textadept 8.2 broke the handling of
>>> the path on OS X through the script. In 8.1 it still works.
>> How are you calling `spawn()`? Textadept 8.3's `spawn()` allows an
>> optional parameter for specifying an environment (which may overwrite any
>> PATH in ``).
> I think the problem is that spawn is not inheriting the environment
> variables set in
> If I run os.execute("python --version > ~/test.txt") I get the Python
> version I installed in /usr/local/bin, with `spawn` (through the run
> command) I get the OS X default Python /usr/bin. (Tested in 8.5)

I don't have access to a Mac OSX machine right now, but I've committed a
fix[1] that may work. It will be in tonight's nightly. Please give it a
try when you get the chance.



You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 19 Jan 2016 - 20:47:55 EST

This archive was generated by hypermail 2.2.0 : Wed 20 Jan 2016 - 06:36:11 EST