ruby-changes:33807
From: akr <ko1@a...>
Date: Fri, 9 May 2014 22:57:15 +0900 (JST)
Subject: [ruby-changes:33807] akr:r45888 (trunk): [DOC]
akr 2014-05-09 22:57:04 +0900 (Fri, 09 May 2014) New Revision: 45888 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45888 Log: [DOC] Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 45887) +++ process.c (revision 45888) @@ -3949,9 +3949,10 @@ rb_f_system(int argc, VALUE *argv) https://github.com/ruby/ruby/blob/trunk/process.c#L3949 * pid = spawn(command, :in=>"/dev/null") # read mode * pid = spawn(command, :out=>"/dev/null") # write mode * pid = spawn(command, :err=>"log") # write mode + * pid = spawn(command, [:out, :err]=>"/dev/null") # write mode * pid = spawn(command, 3=>"/dev/null") # read mode * - * For stdout and stderr, + * For stdout and stderr (and combination of them), * it is opened in write mode. * Otherwise read mode is used. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/