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