Ruby  2.0.0p648(2015-12-16revision53162)
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
 

Detailed Description

Definition at line 210 of file internal.h.

Field Documentation

◆ argv_buf

VALUE rb_execarg::argv_buf

Definition at line 220 of file internal.h.

◆ argv_str

VALUE rb_execarg::argv_str

Definition at line 219 of file internal.h.

◆ chdir_dir

VALUE rb_execarg::chdir_dir

Definition at line 249 of file internal.h.

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

◆ chdir_given

unsigned rb_execarg::chdir_given

Definition at line 233 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ close_others_do

unsigned rb_execarg::close_others_do

Definition at line 232 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ close_others_given

unsigned rb_execarg::close_others_given

Definition at line 231 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ close_others_maxhint

int rb_execarg::close_others_maxhint

Definition at line 247 of file internal.h.

Referenced by check_exec_fds(), and rb_execarg_run_options().

◆ cmd

struct { ... } rb_execarg::cmd

◆ command_abspath

VALUE rb_execarg::command_abspath

Definition at line 218 of file internal.h.

◆ command_name

VALUE rb_execarg::command_name

Definition at line 217 of file internal.h.

◆ dup2_tmpbuf

VALUE rb_execarg::dup2_tmpbuf

Definition at line 226 of file internal.h.

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

◆ env_modification

VALUE rb_execarg::env_modification

◆ envp_buf

VALUE rb_execarg::envp_buf

Definition at line 225 of file internal.h.

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

◆ envp_str

VALUE rb_execarg::envp_str

Definition at line 224 of file internal.h.

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

◆ fd_close

VALUE rb_execarg::fd_close

◆ fd_dup2

VALUE rb_execarg::fd_dup2

◆ fd_dup2_child

VALUE rb_execarg::fd_dup2_child

◆ fd_open

VALUE rb_execarg::fd_open

◆ gid

rb_gid_t rb_execarg::gid

Definition at line 242 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ gid_given

unsigned rb_execarg::gid_given

Definition at line 237 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ invoke

union { ... } rb_execarg::invoke

◆ new_pgroup_flag

unsigned rb_execarg::new_pgroup_flag

Definition at line 235 of file internal.h.

Referenced by rb_execarg_addopt().

◆ new_pgroup_given

unsigned rb_execarg::new_pgroup_given

Definition at line 234 of file internal.h.

Referenced by rb_execarg_addopt().

◆ pgroup_given

unsigned rb_execarg::pgroup_given

Definition at line 227 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ pgroup_pgid

rb_pid_t rb_execarg::pgroup_pgid

Definition at line 238 of file internal.h.

Referenced by rb_execarg_addopt().

◆ redirect_fds

VALUE rb_execarg::redirect_fds

◆ rlimit_limits

VALUE rb_execarg::rlimit_limits

Definition at line 239 of file internal.h.

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

◆ sh

struct { ... } rb_execarg::sh

◆ shell_script

VALUE rb_execarg::shell_script

Definition at line 214 of file internal.h.

◆ uid

rb_uid_t rb_execarg::uid

Definition at line 241 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ uid_given

unsigned rb_execarg::uid_given

Definition at line 236 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ umask_given

unsigned rb_execarg::umask_given

Definition at line 228 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ umask_mask

mode_t rb_execarg::umask_mask

Definition at line 240 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ unsetenv_others_do

unsigned rb_execarg::unsetenv_others_do

Definition at line 230 of file internal.h.

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

◆ unsetenv_others_given

unsigned rb_execarg::unsetenv_others_given

Definition at line 229 of file internal.h.

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

◆ use_shell

int rb_execarg::use_shell

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