Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
rb_execarg Struct Reference

`#include <internal.h>`

## Data Fields
int | use_shell
union {
struct {
VALUE shell_script
} sh
struct {
VALUE command_name
VALUE command_abspath
VALUE argv_str
VALUE argv_buf
} cmd
} | invoke
VALUE | redirect_fds
VALUE | envp_str
VALUE | envp_buf
VALUE | dup2_tmpbuf
unsigned | pgroup_given: 1
unsigned | umask_given: 1
unsigned | unsetenv_others_given: 1
unsigned | unsetenv_others_do: 1
unsigned | close_others_given: 1
unsigned | close_others_do: 1
unsigned | chdir_given: 1
unsigned | new_pgroup_given: 1
unsigned | new_pgroup_flag: 1
unsigned | uid_given: 1
unsigned | gid_given: 1
rb_pid_t | pgroup_pgid
VALUE | rlimit_limits
mode_t | umask_mask
rb_uid_t | uid
rb_gid_t | gid
VALUE | fd_dup2
VALUE | fd_close
VALUE | fd_open
VALUE | fd_dup2_child
int | close_others_maxhint
VALUE | env_modification
VALUE | chdir_dir
union {
struct {
VALUE shell_script
} sh
struct {
VALUE command_name
VALUE command_abspath
VALUE argv_str
VALUE argv_buf
} cmd
} | invoke

## Detailed Description

Definition at line 207 of file ripper.y.

## Field Documentation

VALUE rb_execarg::argv_buf

Definition at line 217 of file ripper.y.

VALUE rb_execarg::argv_str

Definition at line 216 of file ripper.y.

VALUE rb_execarg::chdir_dir

Definition at line 246 of file ripper.y.

Referenced by mark_exec_arg(), rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::chdir_given

Definition at line 230 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::close_others_do

Definition at line 229 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::close_others_given

Definition at line 228 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

int rb_execarg::close_others_maxhint

Definition at line 244 of file ripper.y.

Referenced by check_exec_fds(), and rb_execarg_run_options().

struct { ... } rb_execarg::cmd

struct { ... } rb_execarg::cmd

Referenced by mark_exec_arg(), pipe_open(), rb_exec_async_signal_safe(), rb_exec_fillarg(), rb_execarg_init(), rb_f_exec(), rb_f_spawn(), and rb_spawn_process().

VALUE rb_execarg::command_abspath

Definition at line 215 of file ripper.y.

VALUE rb_execarg::command_name

Definition at line 214 of file ripper.y.

VALUE rb_execarg::dup2_tmpbuf

Definition at line 223 of file ripper.y.

Referenced by mark_exec_arg(), rb_execarg_fixup(), and rb_execarg_run_options().

VALUE rb_execarg::env_modification

Definition at line 245 of file ripper.y.

Referenced by mark_exec_arg(), rb_exec_fillarg(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), and save_env().

VALUE rb_execarg::envp_buf

Definition at line 222 of file ripper.y.

Referenced by fill_envp_buf_i(), mark_exec_arg(), and rb_execarg_fixup().

VALUE rb_execarg::envp_str

Definition at line 221 of file ripper.y.

Referenced by mark_exec_arg(), pipe_open(), rb_exec_async_signal_safe(), and rb_execarg_fixup().

VALUE rb_execarg::fd_close

Definition at line 241 of file ripper.y.

Referenced by check_exec_fds(), check_exec_redirect(), mark_exec_arg(), rb_execarg_run_options(), and save_redirect_fd().

VALUE rb_execarg::fd_dup2

Definition at line 240 of file ripper.y.

Referenced by check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), mark_exec_arg(), rb_execarg_fixup(), rb_execarg_run_options(), and save_redirect_fd().

VALUE rb_execarg::fd_dup2_child

Definition at line 243 of file ripper.y.

Referenced by check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), mark_exec_arg(), and rb_execarg_run_options().

VALUE rb_execarg::fd_open

Definition at line 242 of file ripper.y.

Referenced by check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), mark_exec_arg(), and rb_execarg_run_options().

rb_gid_t rb_execarg::gid

Definition at line 239 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::gid_given

Definition at line 234 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

union { ... } rb_execarg::invoke

union { ... } rb_execarg::invoke

Referenced by mark_exec_arg(), pipe_open(), rb_exec_async_signal_safe(), rb_exec_fillarg(), rb_execarg_init(), rb_f_exec(), rb_f_spawn(), and rb_spawn_process().

unsigned rb_execarg::new_pgroup_flag

Definition at line 232 of file ripper.y.

Referenced by rb_execarg_addopt().

unsigned rb_execarg::new_pgroup_given

Definition at line 231 of file ripper.y.

Referenced by rb_execarg_addopt().

unsigned rb_execarg::pgroup_given

Definition at line 224 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

rb_pid_t rb_execarg::pgroup_pgid

Definition at line 235 of file ripper.y.

Referenced by rb_execarg_addopt().

VALUE rb_execarg::redirect_fds

Definition at line 220 of file ripper.y.

Referenced by mark_exec_arg(), rb_execarg_fixup(), rb_execarg_run_options(), and rb_spawn_process().

VALUE rb_execarg::rlimit_limits

Definition at line 236 of file ripper.y.

Referenced by mark_exec_arg(), rb_execarg_addopt(), and rb_execarg_run_options().

struct { ... } rb_execarg::sh

struct { ... } rb_execarg::sh

Referenced by mark_exec_arg(), pipe_open(), rb_exec_async_signal_safe(), rb_exec_fillarg(), rb_execarg_init(), rb_f_exec(), rb_f_spawn(), and rb_spawn_process().

VALUE rb_execarg::shell_script

Definition at line 211 of file ripper.y.

rb_uid_t rb_execarg::uid

Definition at line 238 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::uid_given

Definition at line 233 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::umask_given

Definition at line 225 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

mode_t rb_execarg::umask_mask

Definition at line 237 of file ripper.y.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

unsigned rb_execarg::unsetenv_others_do

Definition at line 227 of file ripper.y.

Referenced by rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), and save_env().

unsigned rb_execarg::unsetenv_others_given

Definition at line 226 of file ripper.y.

Referenced by rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), and save_env().

int rb_execarg::use_shell

Definition at line 208 of file ripper.y.

Referenced by mark_exec_arg(), pipe_open(), rb_exec_async_signal_safe(), rb_exec_fillarg(), rb_execarg_init(), rb_f_exec(), rb_f_spawn(), and rb_spawn_process().

The documentation for this struct was generated from the following file:

- internal.h