Ruby  2.1.10p492(2016-04-01revision54464)
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 639 of file internal.h.

Field Documentation

◆ argv_buf

VALUE rb_execarg::argv_buf

Definition at line 649 of file internal.h.

◆ argv_str

VALUE rb_execarg::argv_str

Definition at line 648 of file internal.h.

◆ chdir_dir

VALUE rb_execarg::chdir_dir

Definition at line 678 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 662 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 661 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 660 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 676 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 647 of file internal.h.

◆ command_name

VALUE rb_execarg::command_name

Definition at line 646 of file internal.h.

◆ dup2_tmpbuf

VALUE rb_execarg::dup2_tmpbuf

Definition at line 655 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 654 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 653 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 671 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ gid_given

unsigned rb_execarg::gid_given

Definition at line 666 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 664 of file internal.h.

Referenced by rb_execarg_addopt().

◆ new_pgroup_given

unsigned rb_execarg::new_pgroup_given

Definition at line 663 of file internal.h.

Referenced by rb_execarg_addopt().

◆ pgroup_given

unsigned rb_execarg::pgroup_given

Definition at line 656 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 667 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 668 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 643 of file internal.h.

◆ uid

rb_uid_t rb_execarg::uid

Definition at line 670 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ uid_given

unsigned rb_execarg::uid_given

Definition at line 665 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ umask_given

unsigned rb_execarg::umask_given

Definition at line 657 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 669 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 659 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 658 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: