On 2005-05-01, Jason Lunz <[EMAIL PROTECTED]> wrote: > just connecting lua's print() statements to stdout would be great; that > way arbitrary strings could be seen with "tail -f .xsession-errors". As > it is, only some errors go there, so I'm doing horrible things like > "dummy = a.a", which produces
Exactly, errors, i.e. stderr, goes there, not stdout, which print output to. Use io.stderr:write(...) to write to stderr, or connect print etc. there with io.output(stderr). -- Tuomo
