stderr?

27 views
Skip to first unread message

Jason S

unread,
Sep 23, 2011, 9:58:21 AM9/23/11
to js...@googlegroups.com
Shanti--
I just noticed that although there is a system.stdout and system.stdin, there is no system.stderr.
Any particular reason? Could you add one in the next release?

Shanti Rao

unread,
Oct 14, 2011, 11:48:03 AM10/14/11
to js...@googlegroups.com
There's a typo in rs/io_file.cpp. I'll fix it in the next version, and you can do:

system.stderr = new Stream('file://stderr')

Undocumented feature: 'file://stdin' and 'file://stdout' are also special file names. Maybe they should be identified with console:// instead of file://

Shanti

Jason S

unread,
Mar 21, 2012, 12:21:12 PM3/21/12
to js...@googlegroups.com

Finally got around to trying this on 1.8.0.6, and it doesn't work. :-( It creates some kind of stream, but anything I write to it just disappears. The file://stdout seems to work ok. (not that I need it)

please please please please fix.
Reply all
Reply to author
Forward
0 new messages