aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvs12024-10-19 15:34:09 +1000
committerdvs12024-10-19 15:34:09 +1000
commit0944207813f4e56bab000d854c8634f8db7eb353 (patch)
treeead9decc41a9ee8d4a49998f84d7fc157d813b7c
parentUpdate comment. (diff)
downloadJackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.zip
JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.tar.gz
JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.tar.bz2
JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.tar.xz
New function for killing a bunch of exes.
-rwxr-xr-xaataaj.lua5
1 files changed, 5 insertions, 0 deletions
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)
190 return exe 190 return exe
191end 191end
192 192
193APT.exists = function(c)
194 if 0 == APT.exe('which ' .. c):Do().status then return true end
195 return false
196end
197
193APT.killEmAll = function(all) 198APT.killEmAll = function(all)
194 for i,l in ipairs(all) do 199 for i,l in ipairs(all) do
195 local c = 0 200 local c = 0