Ruby  2.5.0dev(2017-10-22revision60238)
Data Fields
rb_execarg Struct Reference

#include <internal.h>

Data Fields

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 use_shell: 1
 
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
 
int close_others_maxhint
 
VALUE fd_dup2
 
VALUE fd_close
 
VALUE fd_open
 
VALUE fd_dup2_child
 
VALUE env_modification
 
VALUE path_env
 
VALUE chdir_dir
 

Detailed Description

Definition at line 1516 of file internal.h.

Field Documentation

◆ argv_buf

VALUE rb_execarg::argv_buf

Definition at line 1525 of file internal.h.

Referenced by rb_execarg_init().

◆ argv_str

VALUE rb_execarg::argv_str

Definition at line 1524 of file internal.h.

◆ chdir_dir

VALUE rb_execarg::chdir_dir

Definition at line 1556 of file internal.h.

◆ chdir_given

unsigned rb_execarg::chdir_given

Definition at line 1539 of file internal.h.

◆ close_others_do

unsigned rb_execarg::close_others_do

Definition at line 1538 of file internal.h.

◆ close_others_given

unsigned rb_execarg::close_others_given

Definition at line 1537 of file internal.h.

◆ close_others_maxhint

int rb_execarg::close_others_maxhint

Definition at line 1549 of file internal.h.

◆ cmd

struct { ... } rb_execarg::cmd

Referenced by rb_execarg_commandline().

◆ command_abspath

VALUE rb_execarg::command_abspath

Definition at line 1523 of file internal.h.

◆ command_name

VALUE rb_execarg::command_name

Definition at line 1522 of file internal.h.

◆ dup2_tmpbuf

VALUE rb_execarg::dup2_tmpbuf

Definition at line 1531 of file internal.h.

◆ env_modification

VALUE rb_execarg::env_modification

Definition at line 1554 of file internal.h.

◆ envp_buf

VALUE rb_execarg::envp_buf

Definition at line 1530 of file internal.h.

◆ envp_str

VALUE rb_execarg::envp_str

Definition at line 1529 of file internal.h.

◆ fd_close

VALUE rb_execarg::fd_close

Definition at line 1551 of file internal.h.

◆ fd_dup2

VALUE rb_execarg::fd_dup2

Definition at line 1550 of file internal.h.

◆ fd_dup2_child

VALUE rb_execarg::fd_dup2_child

Definition at line 1553 of file internal.h.

◆ fd_open

VALUE rb_execarg::fd_open

Definition at line 1552 of file internal.h.

◆ gid

rb_gid_t rb_execarg::gid

Definition at line 1548 of file internal.h.

◆ gid_given

unsigned rb_execarg::gid_given

Definition at line 1543 of file internal.h.

◆ invoke

union { ... } rb_execarg::invoke

Referenced by rb_execarg_commandline().

◆ new_pgroup_flag

unsigned rb_execarg::new_pgroup_flag

Definition at line 1541 of file internal.h.

Referenced by rb_execarg_addopt().

◆ new_pgroup_given

unsigned rb_execarg::new_pgroup_given

Definition at line 1540 of file internal.h.

Referenced by rb_execarg_addopt().

◆ path_env

VALUE rb_execarg::path_env

Definition at line 1555 of file internal.h.

◆ pgroup_given

unsigned rb_execarg::pgroup_given

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

Referenced by rb_execarg_addopt().

◆ redirect_fds

VALUE rb_execarg::redirect_fds

Definition at line 1528 of file internal.h.

Referenced by rb_execarg_run_options().

◆ rlimit_limits

VALUE rb_execarg::rlimit_limits

Definition at line 1545 of file internal.h.

Referenced by rb_execarg_run_options().

◆ sh

struct { ... } rb_execarg::sh

◆ shell_script

VALUE rb_execarg::shell_script

Definition at line 1519 of file internal.h.

◆ uid

rb_uid_t rb_execarg::uid

Definition at line 1547 of file internal.h.

◆ uid_given

unsigned rb_execarg::uid_given

Definition at line 1542 of file internal.h.

◆ umask_given

unsigned rb_execarg::umask_given

Definition at line 1534 of file internal.h.

◆ umask_mask

mode_t rb_execarg::umask_mask

Definition at line 1546 of file internal.h.

◆ unsetenv_others_do

unsigned rb_execarg::unsetenv_others_do

Definition at line 1536 of file internal.h.

Referenced by rb_execarg_run_options().

◆ unsetenv_others_given

unsigned rb_execarg::unsetenv_others_given

Definition at line 1535 of file internal.h.

Referenced by rb_execarg_run_options().

◆ use_shell

unsigned rb_execarg::use_shell

Definition at line 1532 of file internal.h.

Referenced by rb_exec_async_signal_safe(), and rb_execarg_commandline().


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