From 4b59dcf1f875b4c9c107908fc1b5e81e5bd386b5 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 11 Dec 2008 16:17:56 +0000 Subject: rdoc fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 6 +++--- 1 file 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 IO.pipe and -- cgit