Ruby  2.4.2p198(2017-09-14revision59899)
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 1358 of file internal.h.

Field Documentation

◆ argv_buf

VALUE rb_execarg::argv_buf

Definition at line 1367 of file internal.h.

Referenced by rb_execarg_init().

◆ argv_str

VALUE rb_execarg::argv_str

Definition at line 1366 of file internal.h.

◆ chdir_dir

VALUE rb_execarg::chdir_dir

◆ chdir_given

unsigned rb_execarg::chdir_given

Definition at line 1381 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 1380 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 1379 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 1391 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 1365 of file internal.h.

◆ command_name

VALUE rb_execarg::command_name

Definition at line 1364 of file internal.h.

◆ dup2_tmpbuf

VALUE rb_execarg::dup2_tmpbuf

Definition at line 1373 of file internal.h.

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

◆ env_modification

VALUE rb_execarg::env_modification

◆ envp_buf

VALUE rb_execarg::envp_buf

Definition at line 1372 of file internal.h.

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

◆ envp_str

VALUE rb_execarg::envp_str

◆ 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 1390 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ gid_given

unsigned rb_execarg::gid_given

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

Referenced by rb_execarg_addopt().

◆ new_pgroup_given

unsigned rb_execarg::new_pgroup_given

Definition at line 1382 of file internal.h.

Referenced by rb_execarg_addopt().

◆ path_env

VALUE rb_execarg::path_env

Definition at line 1397 of file internal.h.

Referenced by mark_exec_arg(), rb_exec_fillarg(), and rb_execarg_setenv().

◆ pgroup_given

unsigned rb_execarg::pgroup_given

Definition at line 1375 of file internal.h.

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

◆ pgroup_pgid

rb_pid_t rb_execarg::pgroup_pgid

Definition at line 1386 of file internal.h.

Referenced by rb_execarg_addopt(), and run_exec_dup2_child().

◆ redirect_fds

VALUE rb_execarg::redirect_fds

◆ rlimit_limits

VALUE rb_execarg::rlimit_limits

◆ sh

struct { ... } rb_execarg::sh

◆ shell_script

VALUE rb_execarg::shell_script

Definition at line 1361 of file internal.h.

◆ uid

rb_uid_t rb_execarg::uid

Definition at line 1389 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ uid_given

unsigned rb_execarg::uid_given

Definition at line 1384 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ umask_given

unsigned rb_execarg::umask_given

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

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

◆ unsetenv_others_do

unsigned rb_execarg::unsetenv_others_do

◆ unsetenv_others_given

unsigned rb_execarg::unsetenv_others_given

◆ use_shell

unsigned rb_execarg::use_shell

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