summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-31 18:49:25 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-31 18:49:25 +0000
commite2dab32d0b41d4d58d549c7b52711fca54413ab5 (patch)
tree9697ba8d436255453e4984ada9940d704e8cf698 /process.c
parent0d3bf82f80de838d4e26132b20acc4073afe3515 (diff)
downloadruby-e2dab32d0b41d4d58d549c7b52711fca54413ab5.tar.gz
update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index 8b0565b921..4b39d897fe 100644
--- a/process.c
+++ b/process.c
@@ -3015,9 +3015,9 @@ rb_f_system(int argc, VALUE *argv)
* [:child, FD] : redirect to the redirected file descriptor
* :close : close the file descriptor in child process
* FD is one of follows
- * :in : the file descriptor 0
- * :out : the file descriptor 1
- * :err : the file descriptor 2
+ * :in : the file descriptor 0 which is the standard input
+ * :out : the file descriptor 1 which is the standard output
+ * :err : the file descriptor 2 which is the standard error
* integer : the file descriptor of specified the integer
* io : the file descriptor specified as io.fileno
* file descriptor inheritance: close non-redirected non-standard fds (3, 4, 5, ...) or not
@@ -3061,10 +3061,10 @@ rb_f_system(int argc, VALUE *argv)
* two integers: same as cur_limit and max_limit arguments for
* Process.setrlimit.
*
- * pid = spawn(command, :rlimit_core=>0) # never dump core.
* cur, max = Process.getrlimit(:CORE)
* pid = spawn(command, :rlimit_core=>[0,max]) # disable core temporary.
* pid = spawn(command, :rlimit_core=>max) # enable core dump
+ * pid = spawn(command, :rlimit_core=>0) # never dump core.
*
* The <code>:chdir</code> key in +options+ specifies the current directory.
*