local f = assert(io.popen("/usr/bin/killall -INT ffmpeg", "r")) os.execute("sleep 1") local s = assert(f:read('*all')) ngx.say(s:gsub("\n", "\n")) ngx.say([[ ]]) --[[ ]]