X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Process
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
/
ðŸ“
..
ðŸ“
GID
ðŸ“
Status
ðŸ“
Sys
ðŸ“
UID
📄
abort-c.yaml
(395 B)
📄
cdesc-Process.yaml
(3.85 KB)
📄
detach-c.yaml
(1.91 KB)
📄
egid%3d-c.yaml
(315 B)
📄
egid-c.yaml
(454 B)
📄
euid%3d-c.yaml
(302 B)
📄
euid-c.yaml
(424 B)
📄
exec-c.yaml
(1.22 KB)
📄
exit%21-c.yaml
(421 B)
📄
exit-c.yaml
(1.35 KB)
📄
fork-c.yaml
(1.04 KB)
📄
getpgid-c.yaml
(421 B)
📄
getpgrp-c.yaml
(433 B)
📄
getpriority-c.yaml
(863 B)
📄
getrlimit-c.yaml
(868 B)
📄
gid%3d-c.yaml
(269 B)
📄
gid-c.yaml
(416 B)
📄
groups%3d-c.yaml
(536 B)
📄
groups-c.yaml
(417 B)
📄
initgroups-c.yaml
(837 B)
📄
kill-c.yaml
(963 B)
📄
maxgroups%3d-c.yaml
(330 B)
📄
maxgroups-c.yaml
(399 B)
📄
pid-c.yaml
(368 B)
📄
ppid-c.yaml
(609 B)
📄
setpgid-c.yaml
(366 B)
📄
setpgrp-c.yaml
(299 B)
📄
setpriority-c.yaml
(605 B)
📄
setrlimit-c.yaml
(2.41 KB)
📄
setsid-c.yaml
(457 B)
📄
times-c.yaml
(473 B)
📄
uid%3d-c.yaml
(312 B)
📄
uid-c.yaml
(414 B)
📄
wait-c.yaml
(2.17 KB)
📄
wait2-c.yaml
(772 B)
📄
waitall-c.yaml
(878 B)
📄
waitpid-c.yaml
(2.18 KB)
📄
waitpid2-c.yaml
(778 B)
Editing: wait-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Waits for a child process to exit, returns its process id, and sets <tt>$?</tt> to a <tt>Process::Status</tt> object containing information on that process. Which child it waits on depends on the value of <em>pid</em>:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "> 0:" body: Waits for the child whose process ID equals <em>pid</em>. - !ruby/struct:SM::Flow::LI label: "0:" body: Waits for any child whose process group ID equals that of the calling process. - !ruby/struct:SM::Flow::LI label: "-1:" body: Waits for any child process (the default if no <em>pid</em> is given). - !ruby/struct:SM::Flow::LI label: "< -1:" body: Waits for any child whose process group ID equals the absolute value of <em>pid</em>. type: :NOTE - !ruby/struct:SM::Flow::P body: The <em>flags</em> argument may be a logical or of the flag values <tt>Process::WNOHANG</tt> (do not block if no child available) or <tt>Process::WUNTRACED</tt> (return stopped children that haven't been reported). Not all flags are available on all platforms, but a flag value of zero will work on all platforms. - !ruby/struct:SM::Flow::P body: Calling this method raises a <tt>SystemError</tt> if there are no child processes. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " include Process\n fork { exit 99 } #=> 27429\n wait #=> 27429\n $?.exitstatus #=> 99\n\n pid = fork { sleep 3 } #=> 27440\n Time.now #=> Wed Apr 09 08:57:09 CDT 2003\n waitpid(pid, Process::WNOHANG) #=> nil\n Time.now #=> Wed Apr 09 08:57:09 CDT 2003\n waitpid(pid, 0) #=> 27440\n Time.now #=> Wed Apr 09 08:57:12 CDT 2003\n" full_name: Process::wait is_singleton: true name: wait params: | Process.wait() => fixnum Process.wait(pid=-1, flags=0) => fixnum Process.waitpid(pid=-1, flags=0) => fixnum visibility: public
Upload File
Create Folder