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
Родитель 77811031e5
Коммит 058b5bce60
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -3949,9 +3949,10 @@ rb_f_system(int argc, VALUE *argv)
* 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.
*