mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-26 04:57:24 -05:00
made the shell return sane values
This commit is contained in:
parent
dcf0cb75ae
commit
b408cfe27b
@ -25,7 +25,7 @@ setmetatable(shenv,{__index=function(_,k)
|
|||||||
return function(...)
|
return function(...)
|
||||||
local tA = {...}
|
local tA = {...}
|
||||||
local pid = os.spawnfile(fp,fp,table.unpack(tA))
|
local pid = os.spawnfile(fp,fp,table.unpack(tA))
|
||||||
local tE = event.pull("process_finished",pid)
|
local tE = {event.pull("process_finished",pid)}
|
||||||
if tE[1] == true then
|
if tE[1] == true then
|
||||||
table.remove(tE,1)
|
table.remove(tE,1)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user