summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/util.lua')
-rw-r--r--src/ffluci/util.lua27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/ffluci/util.lua b/src/ffluci/util.lua
index c47a89895d..54ee071ef7 100644
--- a/src/ffluci/util.lua
+++ b/src/ffluci/util.lua
@@ -103,33 +103,6 @@ function escape(s, c)
end
--- Runs "command" and returns its output
-function exec(command)
- local pp = io.popen(command)
- local data = pp:read("*a")
- pp:close()
-
- return data
-end
-
-
--- Runs "command" and returns its output as a array of lines
-function execl(command)
- local pp = io.popen(command)
- local line = ""
- local data = {}
-
- while true do
- line = pp:read()
- if (line == nil) then break end
- table.insert(data, line)
- end
- pp:close()
-
- return data
-end
-
-
-- Populate obj in the scope of f as key
function extfenv(f, key, obj)
local scope = getfenv(f)