PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the current process by running the given external <em>command</em>. If <tt>exec</tt> is given a single argument, that argument is taken as a line that is subject to shell expansion before being executed. If multiple arguments are given, the second and subsequent arguments are passed as parameters to <em>command</em> with no shell expansion. If the first argument is a two-element array, the first element is the command to be executed, and the second argument is used as the <tt>argv[0]</tt> value, which may show up in process listings. In MSDOS environments, the command is executed in a subshell; otherwise, one of the <tt>exec(2)</tt> system calls is used, so the running command may inherit some of the environment of the original program (including open file descriptors). - !ruby/struct:SM::Flow::VERB body: " exec "echo *" # echoes list of files in current directory\n # never get here\n\n exec "echo", "*" # echoes an asterisk\n # never get here\n" full_name: Process::exec is_singleton: true name: exec params: | exec(command [, arg, ...]) visibility: public
[-] groups-c.yaml
[edit]
[-] groups%3d-c.yaml
[edit]
[-] initgroups-c.yaml
[edit]
[-] waitpid2-c.yaml
[edit]
[-] exit-c.yaml
[edit]
[-] maxgroups%3d-c.yaml
[edit]
[+]
Status
[-] maxgroups-c.yaml
[edit]
[-] wait2-c.yaml
[edit]
[-] waitpid-c.yaml
[edit]
[-] exec-c.yaml
[edit]
[+]
GID
[-] egid-c.yaml
[edit]
[-] exit%21-c.yaml
[edit]
[+]
UID
[-] setpriority-c.yaml
[edit]
[-] gid%3d-c.yaml
[edit]
[-] wait-c.yaml
[edit]
[-] egid%3d-c.yaml
[edit]
[-] fork-c.yaml
[edit]
[-] setpgrp-c.yaml
[edit]
[-] detach-c.yaml
[edit]
[-] kill-c.yaml
[edit]
[-] ppid-c.yaml
[edit]
[-] getpgrp-c.yaml
[edit]
[+]
Sys
[-] times-c.yaml
[edit]
[-] abort-c.yaml
[edit]
[-] euid-c.yaml
[edit]
[-] setsid-c.yaml
[edit]
[-] euid%3d-c.yaml
[edit]
[+]
..
[-] setpgid-c.yaml
[edit]
[-] getpriority-c.yaml
[edit]
[-] pid-c.yaml
[edit]
[-] uid%3d-c.yaml
[edit]
[-] uid-c.yaml
[edit]
[-] cdesc-Process.yaml
[edit]
[-] waitall-c.yaml
[edit]
[-] getpgid-c.yaml
[edit]
[-] getrlimit-c.yaml
[edit]
[-] gid-c.yaml
[edit]
[-] setrlimit-c.yaml
[edit]