Re: [code] Re: [textadept] experimental spawn

From: Mitchell <>
Date: Fri, 22 Mar 2013 12:11:13 -0400 (Eastern Daylight Time)


On Thu, 21 Mar 2013, Ryan Pusztai wrote:

> Hi Mitchell,
> On Tue, Mar 19, 2013 at 7:03 PM, Mitchell <> wrote:
>> Hi Ryan,
> lspawn is still supported, but the binaries are compiled for Lua 5.2. Since
>> you are on Linux, it should not be hard to compile for LuaJIT. Looking at
>> the code, the changes you'd have to make include:
>> lspawn.c:
>> * Add "#define lua_rawlen lua_objlen" in the #includes area.
>> Makefile:
>> * Line 3: change ta_src to your ta source directory.
>> * Line 60: change lua/src to luajit/src.
> This worked great. It now loads.
> I am now trying to launch make and have it's output shown in a [Message
> Buffer]. I am launching it from a context menu and a keyboard shortcut. I
> have added the code that I am using, but the issue is that it seems like
> the spawn is stopping right away and not continuing after a single file is
> told to build by make. Do you have any ideas how to add Make support to TA?

So get the latest lspawn.c from hg and also replace 'envp' in the
'g_spawn_async_with_pipes' call with 'NULL'. This will ensure 'make'
inherits ENV from ta. I'll have to commit a better change later, but
that's the quick fix.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 22 Mar 2013 - 12:11:13 EDT

This archive was generated by hypermail 2.2.0 : Sat 23 Mar 2013 - 06:41:27 EDT