lua-resty-exec
lua-resty-exec copied to clipboard
Run external programs in OpenResty without spawning a shell or blocking
prog('bash', '-c',...) will block i spawn 10 prog to execute a curl command use ngx.thread.spawn. i had tried follow two way: ``` for i=1, 10 do prog('curl', '-L', '-s', 'www.xxx.com'...
Change `/tmp/exec.sock` nginx user owner
Hi. This issue is already partially mentioned in [here](https://github.com/jprjr/sockexec/issues/7). **Behavior** Certain requests from time to time and up with timeout error. This code exits with `'timeout'` in `err` variable to...
Hi. I was quickly going through the code and noticed that in file _socket.lua_ in function `function _M.receive(self)` there on some lines return three parameters and on some lines just...
Hi. I am sending you a stack trace of an error that happened to me while executing {'cat', '/proc/loadavg'} command. It has happened to me only once so far. I...