diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-11 13:27:46 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-11 13:27:46 +0000 |
commit | 3aabcaa3dab84018b9dfd7edf7ad5c48f007e6f3 (patch) | |
tree | 5018963b80c99ef5207c0bfa8d7b6aa9feae59ab /process.c | |
parent | 8dfd78fc1c1bd4a19de2ce3276bf3ed5670ad1e1 (diff) | |
download | ruby-3aabcaa3dab84018b9dfd7edf7ad5c48f007e6f3.tar.gz |
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2977,7 +2977,14 @@ rb_f_system(int argc, VALUE *argv) * Process.spawn([env,] command... [,options]) => pid * * spawn executes specified command and return its pid. - * It doesn't wait for end of the command. + * + * This method doesn't wait for end of the command. + * The parent process should + * use <code>Process.wait</code> to collect + * the termination status of its child or + * use <code>Process.detach</code> to register + * disinterest in their status; + * otherwise, the operating system may accumulate zombie processes. * * spawn has bunch of options to specify process attributes: * |