1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-05-09 13:57:04 +00:00
parent 77811031e5
commit 058b5bce60

View file

@ -3949,9 +3949,10 @@ rb_f_system(int argc, VALUE *argv)
* pid = spawn(command, :in=>"/dev/null") # read mode * pid = spawn(command, :in=>"/dev/null") # read mode
* pid = spawn(command, :out=>"/dev/null") # write mode * pid = spawn(command, :out=>"/dev/null") # write mode
* pid = spawn(command, :err=>"log") # 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 * 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. * it is opened in write mode.
* Otherwise read mode is used. * Otherwise read mode is used.
* *