made spawn() return the pid of the spawned process

This commit is contained in:
Izaya 2017-09-05 19:07:13 +10:00
parent e8bd168ad8
commit 7dee940cf2
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ do -- so local works
tT[nP].u,tT[nP].ep,tT[nP].e = "superuser",1,{["PWD"]="/boot",["PATH"]="/boot/exec:."}
end
nP = nP + 1
return nP-1
end
function _G.sched()
_G.sched = nil