From 0944207813f4e56bab000d854c8634f8db7eb353 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sat, 19 Oct 2024 15:34:09 +1000 Subject: New function for killing a bunch of exes. --- aataaj.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aataaj.lua b/aataaj.lua index 6038fa6..3c1a89b 100755 --- a/aataaj.lua +++ b/aataaj.lua @@ -190,6 +190,11 @@ APT.exe = function(c) return exe end +APT.exists = function(c) + if 0 == APT.exe('which ' .. c):Do().status then return true end + return false +end + APT.killEmAll = function(all) for i,l in ipairs(all) do local c = 0 -- cgit v1.1