remove fshandles arg
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user