added a proc-utils library. note to self: move shit like shutil and proc-utils to library/
This commit is contained in:
parent
c945736ae1
commit
51e5c68d9f
11
modules/applications/proc-utils.lua
Normal file
11
modules/applications/proc-utils.lua
Normal file
@ -0,0 +1,11 @@
|
||||
function killsession(sI)
|
||||
local rt={}
|
||||
for k,v in ipairs(tT) do
|
||||
if v[3].sI == sI then
|
||||
T.insert(rt,1,k)
|
||||
end
|
||||
end
|
||||
for k,v in ipairs(rt) do
|
||||
T.remove(tT,v)
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user