made forked programs output their end result to the log
This commit is contained in:
parent
99b4bc3b71
commit
d60c10baa0
@ -267,5 +267,5 @@ end
|
|||||||
function srun(fn,...)
|
function srun(fn,...)
|
||||||
local lf = loadfile(fn)
|
local lf = loadfile(fn)
|
||||||
if not lf then return false, "cannot load file" end
|
if not lf then return false, "cannot load file" end
|
||||||
spawn(fn,print(pcall(lf,...)))
|
spawn(fn,log(pcall(lf,...)))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user