remove fshandles arg

This commit is contained in:
2026-01-15 16:14:47 -05:00
parent 1141193fc8
commit 7d8055a703

View File

@@ -5,7 +5,7 @@ local sys = {}
local nextpid = 2 local nextpid = 2
kernel.exitMain=false kernel.exitMain=false
function sys.spawn(func, name, envars, args, tgid, fshandles) function sys.spawn(func, name, envars, args, tgid)
local id = nextpid local id = nextpid
nextpid = nextpid + 1 nextpid = nextpid + 1
tasks[tostring(id)] = { tasks[tostring(id)] = {
@@ -27,7 +27,7 @@ function sys.spawn(func, name, envars, args, tgid, fshandles)
tgid=tgid or kernel.currentTask.tgid, tgid=tgid or kernel.currentTask.tgid,
user=kernel.user, user=kernel.user,
uid=kernel.uid, uid=kernel.uid,
fd=fshandles or {}, fd={},
exit="", exit="",
sleep=0, sleep=0,
ivs=0, ivs=0,