summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-11 16:17:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-11 16:17:56 +0000
commit4b59dcf1f875b4c9c107908fc1b5e81e5bd386b5 (patch)
tree334f3f95e70add6166525d18e7d1e8f18d4cc388 /io.c
parent86b21fc45f3df753171c0807c90fe138a0e89fc6 (diff)
rdoc fix.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index 320950ed9..62f0a2152 100644
--- a/io.c
+++ b/io.c
@@ -4698,9 +4698,9 @@ pop_last_hash(int *argc_p, VALUE *argv)
* nkf_io = IO.popen("nkf -e filename", :external_encoding=>"EUC-JP")
* euc_jp_string = nkf_io.read
*
- * # merge standard output and standard error using
- * # spawn option. See the document of Kernel.spawn.
- * ls_io = IO.popen(["ls", "/", STDERR=>[:child, STDOUT]])
+ * # discard standard error using spawn option.
+ * # See the document of Kernel.spawn.
+ * ls_io = IO.popen(["ls", "/", :err=>"/dev/null"])
* ls_result_with_error = ls_io.read
*
* Raises exceptions which <code>IO.pipe</code> and