openresty/lua-resty-shell

attempt to index upvalue 'shell' (a userdata value)

dockss-911 opened this issue · 1 comments

local shell = require "resty.shell"
ngx.req.read_body()
local args = ngx.req.get_post_args()

shell.run("/bin/echo", args.name)

nginx version is 1.19.4 ,the same code can run on nginx 1.17.7