From 311481f8000c1caf4cbb6b9f768cd68be54844ca Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 2 Oct 2023 13:54:53 +0530 Subject: repo: os.execute/io.popen -> util.run --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.lua') diff --git a/main.lua b/main.lua index 975f96c..097a53a 100644 --- a/main.lua +++ b/main.lua @@ -9,7 +9,7 @@ local mkdir = function (path) os.remove(path) end - return os.execute('mkdir -p ' .. path) + return util.run({ 'mkdir', '-p', path }) end local sub_needed = function () -- cgit v1.2.3