diff options
author | dvs1 | 2024-10-19 15:34:09 +1000 |
---|---|---|
committer | dvs1 | 2024-10-19 15:34:09 +1000 |
commit | 0944207813f4e56bab000d854c8634f8db7eb353 (patch) | |
tree | ead9decc41a9ee8d4a49998f84d7fc157d813b7c | |
parent | Update comment. (diff) | |
download | JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.zip JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.tar.gz JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.tar.bz2 JackOnAllDevices-0944207813f4e56bab000d854c8634f8db7eb353.tar.xz |
New function for killing a bunch of exes.
Diffstat (limited to '')
-rwxr-xr-x | aataaj.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -190,6 +190,11 @@ APT.exe = function(c) | |||
190 | return exe | 190 | return exe |
191 | end | 191 | end |
192 | 192 | ||
193 | APT.exists = function(c) | ||
194 | if 0 == APT.exe('which ' .. c):Do().status then return true end | ||
195 | return false | ||
196 | end | ||
197 | |||
193 | APT.killEmAll = function(all) | 198 | APT.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 |