PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Kernel
--- !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: Kernel#exec is_singleton: false name: exec params: | exec(command [, arg, ...]) visibility: public
[-] trap-i.yaml
[edit]
[-] chop-i.yaml
[edit]
[-] URI-i.yaml
[edit]
[-] gsub%21-i.yaml
[edit]
[-] fail-i.yaml
[edit]
[-] lambda-i.yaml
[edit]
[-] fork-i.yaml
[edit]
[-] autoload-i.yaml
[edit]
[-] abort-i.yaml
[edit]
[-] readlines-i.yaml
[edit]
[-] exec-i.yaml
[edit]
[-] __method__-i.yaml
[edit]
[-] readline-i.yaml
[edit]
[-] Integer-i.yaml
[edit]
[-] eval-i.yaml
[edit]
[-] open_uri_original_open-i.yaml
[edit]
[-] autoload%3f-i.yaml
[edit]
[-] scan-i.yaml
[edit]
[-] at_exit-i.yaml
[edit]
[-] p-i.yaml
[edit]
[-] y-i.yaml
[edit]
[-] syscall-i.yaml
[edit]
[-] sub%21-i.yaml
[edit]
[-] warn-i.yaml
[edit]
[-] caller-i.yaml
[edit]
[-] print-i.yaml
[edit]
[-] Float-i.yaml
[edit]
[-] scanf-i.yaml
[edit]
[-] open-i.yaml
[edit]
[-] split-i.yaml
[edit]
[-] sub-i.yaml
[edit]
[-] catch-i.yaml
[edit]
[-] raise-i.yaml
[edit]
[-] gsub-i.yaml
[edit]
[-] sprintf-i.yaml
[edit]
[-] iterator%3f-i.yaml
[edit]
[-] binding-i.yaml
[edit]
[-] putc-i.yaml
[edit]
[-] pp-i.yaml
[edit]
[-] pretty_inspect-i.yaml
[edit]
[-] getc-i.yaml
[edit]
[-] %60-i.yaml
[edit]
[-] chomp-i.yaml
[edit]
[-] load-i.yaml
[edit]
[-] exit-i.yaml
[edit]
[-] srand-i.yaml
[edit]
[-] block_given%3f-i.yaml
[edit]
[-] trace_var-i.yaml
[edit]
[-] callcc-i.yaml
[edit]
[-] Array-i.yaml
[edit]
[-] test-i.yaml
[edit]
[-] loop-i.yaml
[edit]
[-] format-i.yaml
[edit]
[-] gets-i.yaml
[edit]
[-] method_missing-i.yaml
[edit]
[-] chop%21-i.yaml
[edit]
[-] proc-i.yaml
[edit]
[-] throw-i.yaml
[edit]
[-] exit%21-i.yaml
[edit]
[-] global_variables-i.yaml
[edit]
[-] printf-i.yaml
[edit]
[+]
..
[-] require-i.yaml
[edit]
[-] String-i.yaml
[edit]
[-] select-i.yaml
[edit]
[-] set_trace_func-i.yaml
[edit]
[-] chomp%21-i.yaml
[edit]
[-] sleep-i.yaml
[edit]
[-] Pathname-i.yaml
[edit]
[-] untrace_var-i.yaml
[edit]
[-] rand-i.yaml
[edit]
[-] cdesc-Kernel.yaml
[edit]
[-] system-i.yaml
[edit]
[-] local_variables-i.yaml
[edit]
[-] puts-i.yaml
[edit]