lua-users home
lua-l archive

Joining stdout and stderr

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi list - is there a way to join Lua's stdout and stderr? In all the
(few) ways that I've tried they kept using separate buffers, so if a
program sends a lot of output to stdout and aborts with an error I get
the error messages in the "wrong place", like this:
 stdout
 stdout
 stdou
 error trace on stderr
 error trace on stderr
 t
 stdout
 stdout
Cheers,
 Edrx
 http://angg.twu.net/

AltStyle によって変換されたページ (->オリジナル) /