diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-05 12:25:33 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-05 12:25:33 +0000 |
commit | 20979f2031a3f49e03bf103b4bd06b65c7eb9141 (patch) | |
tree | e8ec9f48acaea314b179d4e157a7012605c03942 /process.c | |
parent | b2b0c132bc2f6ac60bd57ed3b53c207725f664e4 (diff) | |
download | ruby-20979f2031a3f49e03bf103b4bd06b65c7eb9141.tar.gz ruby-20979f2031a3f49e03bf103b4bd06b65c7eb9141.tar.xz ruby-20979f2031a3f49e03bf103b4bd06b65c7eb9141.zip |
update spawn rdoc a bit.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |