You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ resty app.lua
/Users/vanpelt/torch/install/share/lua/5.1/sys/init.lua:40: attempt to index local 's' (a nil value)
(sys.execute is being called to set sys.prefix)
I have no clue why popen is behaving strangely, but thought the nil output case should be handled. Any idea's why child processes are failing in this context?
The text was updated successfully, but these errors were encountered:
For some reason: https://github.com/torch/sys/blob/master/init.lua#L37-L40 is returning nil when launched through OpenResty which causes an exception.
app.lua
Running
resty app.lua
results in:(
sys.execute
is being called to setsys.prefix
)I have no clue why
popen
is behaving strangely, but thought the nil output case should be handled. Any idea's why child processes are failing in this context?The text was updated successfully, but these errors were encountered: