made spawn() return the pid of the spawned process
This commit is contained in:
parent
e8bd168ad8
commit
7dee940cf2
@ -24,6 +24,7 @@ do -- so local works
|
|||||||
tT[nP].u,tT[nP].ep,tT[nP].e = "superuser",1,{["PWD"]="/boot",["PATH"]="/boot/exec:."}
|
tT[nP].u,tT[nP].ep,tT[nP].e = "superuser",1,{["PWD"]="/boot",["PATH"]="/boot/exec:."}
|
||||||
end
|
end
|
||||||
nP = nP + 1
|
nP = nP + 1
|
||||||
|
return nP-1
|
||||||
end
|
end
|
||||||
function _G.sched()
|
function _G.sched()
|
||||||
_G.sched = nil
|
_G.sched = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user