liquid_feedback_frontend
annotate env/lf4rcs/exec.lua @ 1279:ec084cda1be9
Fixed wording for notification setting
| author | bsw | 
|---|---|
| date | Mon Apr 18 06:58:53 2016 +0200 (2016-04-18) | 
| parents | 30523f31b186 | 
| children | 
| rev | line source | 
|---|---|
| bsw@1219 | 1 function lf4rcs.exec(...) | 
| bsw@1219 | 2 local output, err_message, exit_code = extos.pfilter(nil, ...) | 
| bsw@1219 | 3 local command_parts = {...} | 
| bsw@1219 | 4 for i, part in ipairs(command_parts) do | 
| bsw@1219 | 5 if string.match(part, " ") then | 
| bsw@1219 | 6 command_parts[i] = '"' .. part .. '"' | 
| bsw@1219 | 7 end | 
| bsw@1219 | 8 end | 
| bsw@1219 | 9 local command = table.concat(command_parts, " ") | 
| bsw@1219 | 10 return command, output, err_message, exit_code | 
| bsw@1219 | 11 end | 
| bsw@1219 | 12 |