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

From: Mitchell <m.att.foicica.com>
Date: Wed, 20 Jan 2016 11:14:18 -0500 (EST)

Hi Robert,

On Wed, 20 Jan 2016, Robert Gieseke wrote:

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

No, that will only affect Mac OSX. The Windows behavior is defined
elsewhere in lspawn.c. I'm glad it worked!

Cheers,
Mitchell

-- 
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 - 11:14:18 EST

This archive was generated by hypermail 2.2.0 : Thu 21 Jan 2016 - 06:54:35 EST