Re: [code] [textadept] osx_env.sh and spawn environment

From: Robert Gieseke <rob.g.att.web.de>
Date: Wed, 20 Jan 2016 08:30:22 +0100

Hi Mitchell,

Am 20/01/16 um 02:47 schrieb Mitchell:
>>>> I think the change in lspawn around Textadept 8.2 broke the handling of
>>>> the path on OS X through the osx_en.sh 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 `osx_env.sh`).
>>
>> I think the problem is that spawn is not inheriting the environment
>> variables set in osx_env.sh.

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

Thanks, seems to work perfectly! Does that patch [1] affect behaviour on
Windows as well or does it make no difference there?

I'll look into how the process of getting the environment variables on
OS X could be simplified.

Cheers,
Robert

> [1]: http://foicica.com/hg/lspawn/rev/5c1c2450119d
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 20 Jan 2016 - 02:30:22 EST

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