execute command
This commit is contained in:
+1
-1
@@ -36,6 +36,7 @@ end
|
||||
for i = 1, len do
|
||||
ngx.log(ngx.INFO, "COMBINE FILE -> ", data[i])
|
||||
local cmd = convert .. " -resize 1280x " .. data[i] .. " " .. file_dir .. "/" .. data[i] .. ".png"
|
||||
io.popen(cmd)
|
||||
ngx.log(ngx.INFO, 'CMD RESIZE -> ', cmd)
|
||||
origin[i] = file_dir .. "/" .. data[i] .. ".png "
|
||||
end
|
||||
@@ -43,5 +44,4 @@ end
|
||||
local cmd = convert .. " -append " .. table.concat(origin, " ") .. " " .. combined
|
||||
ngx.log(ngx.INFO, 'CMD APPEND -> ', cmd)
|
||||
io.popen(cmd)
|
||||
|
||||
ngx.say(combined_uuid)
|
||||
|
||||
Reference in New Issue
Block a user