Commit 713aa48c authored by Tomoyuki Sahara's avatar Tomoyuki Sahara

STDERR's file descriptor is 2.

closes #1
parent 9dc875f2
...@@ -282,7 +282,7 @@ end ...@@ -282,7 +282,7 @@ end
STDIN = IO.open(0, "r") STDIN = IO.open(0, "r")
STDOUT = IO.open(1, "w") STDOUT = IO.open(1, "w")
STDERR = IO.open(1, "w") STDERR = IO.open(2, "w")
$stdin = STDIN $stdin = STDIN
$stdout = STDOUT $stdout = STDOUT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment