mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-22 03:54:20 -05:00
made ps display the pid correctly
This commit is contained in:
parent
ac98d09b93
commit
d23a25613d
@ -1,5 +1,5 @@
|
||||
print("PID# Parent | Name")
|
||||
for k,v in pairs(os.tasks()) do
|
||||
local t = os.taskInfo(v)
|
||||
print(string.format("%4d %4d | %s",k,t.parent,t.name))
|
||||
print(string.format("%4d %4d | %s",v,t.parent,t.name))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user