mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-25 20:48:43 -05:00
updated some executables to actually work with the kernel changes
This commit is contained in:
parent
346c6bcf29
commit
0ced41b897
@ -1,5 +1,5 @@
|
|||||||
print("PID# Parent Name")
|
print("PID# Parent | Name")
|
||||||
for k,v in pairs(os.tasks()) do
|
for k,v in pairs(os.tasks()) do
|
||||||
local t = os.taskInfo(v)
|
local t = os.taskInfo(v)
|
||||||
print(string.format("%4d %4d %s",k,v.parent,v.name))
|
print(string.format("%4d %4d | %s",k,t.parent,t.name))
|
||||||
end
|
end
|
||||||
|
@ -26,6 +26,7 @@ setmetatable(shenv,{__index=function(_,k)
|
|||||||
if _G[k] then
|
if _G[k] then
|
||||||
return _G[k]
|
return _G[k]
|
||||||
elseif fs.exists("/boot/exec/"..k..".lua") then
|
elseif fs.exists("/boot/exec/"..k..".lua") then
|
||||||
|
--[[
|
||||||
local rqid = string.format("shell-%d",math.random(1,99999))
|
local rqid = string.format("shell-%d",math.random(1,99999))
|
||||||
return function(...)
|
return function(...)
|
||||||
local tA = {...}
|
local tA = {...}
|
||||||
@ -42,6 +43,8 @@ setmetatable(shenv,{__index=function(_,k)
|
|||||||
end
|
end
|
||||||
until tTasks[pid] == nil
|
until tTasks[pid] == nil
|
||||||
end
|
end
|
||||||
|
]]--
|
||||||
|
return loadfile("/boot/exec/"..k..".lua")
|
||||||
end
|
end
|
||||||
end})
|
end})
|
||||||
print(_VERSION)
|
print(_VERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user