Merge pull request #428 from tritao/patch-1
Fixed os.outputof to redirect standard streams to capture all output
This commit is contained in:
commit
a381657629
@ -373,7 +373,7 @@
|
||||
function os.outputof(cmd)
|
||||
cmd = path.normalize(cmd)
|
||||
|
||||
local pipe = io.popen(cmd)
|
||||
local pipe = io.popen(cmd .. " 2>&1")
|
||||
local result = pipe:read('*a')
|
||||
local b, exitcode = pipe:close()
|
||||
if not b then
|
||||
|
Loading…
Reference in New Issue
Block a user