update spawn rdoc a bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f18120b8a0
commit
b89bf3f05a
@ -2778,6 +2778,10 @@ rb_f_system(int argc, VALUE *argv)
|
||||
*
|
||||
* If a hash is given as +env+, the environment is
|
||||
* updated by +env+ before <code>exec(2)</code> in the child process.
|
||||
* If a pair in +env+ has nil as the value, the variable is deleted.
|
||||
*
|
||||
* # set FOO as BAR and unset BAZ.
|
||||
* pid = spawn({"FOO"=>"BAR", "BAZ"=>nil}, command)
|
||||
*
|
||||
* If a hash is given as +options+,
|
||||
* it specifies
|
||||
|
Loading…
x
Reference in New Issue
Block a user