lupa
lupa copied to clipboard
'popen' not supported
running a script with io.popen
results in error:
---------------------------------------------------------------------------
LuaError Traceback (most recent call last)
Cell In[2], line 1
----> 1 lll.LuaRuntime().eval('io.popen("ls")')
File lupa/lua51.pyx:426, in lupa.lua51.LuaRuntime.eval()
File lupa/lua51.pyx:1821, in lupa.lua51.run_lua()
File lupa/lua51.pyx:1835, in lupa.lua51.call_lua()
File lupa/lua51.pyx:1861, in lupa.lua51.execute_lua_call()
File lupa/lua51.pyx:1743, in lupa.lua51.raise_lua_error()
LuaError: [string "<python>"]:1: 'popen' not supported
stack traceback:
[string "<python>"]:1: in main chunk
[C]: in function 'popen'
I assume this is intentional? but is there a way to configure lupa when installing with pip that allows us to customize this behavior? With 1.13, we can force a source only build using the libraries on the system, now that seems to still build with the bundled libraries.