lua-users home
lua-l archive

Re: ex library crashes in os.spawn

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


----- Original Message -----
From: Wolfgang Schenke
Date: 7/5/2013 10:54 AM
[https://github.com/luaforge/lua-ex on Linux with Lua 5.1.5. Compile goes through fine (to ex.so).

But when I use it:

require "ex"
command='date'
local proc, err = assert(os.spawn{command=command})

It gives a glibc error:

Has the ex library been tested recently?
I successfully use a version on Linux (Ubuntu 10.4 in a VM) compiled from [1]. The https://github.com/luaforge/lua-ex version is similar, so I don't know why one would work and the other wouldn't.

-Josh

[1] https://github.com/jjensen/lua-ex


AltStyle によって変換されたページ (->オリジナル) /