Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

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
unsigned | exception_given: 1
struct waitpid_state * | waitpid_state
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
union {
struct {
VALUE shell_script
} sh
struct {
VALUE command_name
VALUE command_abspath
VALUE argv_str
VALUE argv_buf
} cmd
} | invoke
pid_t | pgroup_pgid
uid_t | uid
gid_t | gid

## Detailed Description

Definition at line 2019 of file internal.h.

## Field Documentation

## ◆ argv_buf

VALUE rb_execarg::argv_buf

Definition at line 2028 of file internal.h.

## ◆ argv_str

VALUE rb_execarg::argv_str

Definition at line 2027 of file internal.h.

## ◆ chdir_dir

VALUE rb_execarg::chdir_dir

Definition at line 2062 of file internal.h.

## ◆ chdir_given

unsigned rb_execarg::chdir_given

Definition at line 2042 of file internal.h.

## ◆ close_others_do

unsigned rb_execarg::close_others_do

Definition at line 2041 of file internal.h.

## ◆ close_others_given

unsigned rb_execarg::close_others_given

Definition at line 2040 of file internal.h.

## ◆ close_others_maxhint

int rb_execarg::close_others_maxhint

Definition at line 2055 of file internal.h.

## ◆ cmd [1/2]

struct { ... } rb_execarg::cmd

Referenced by rb_execarg_commandline().

## ◆ cmd [2/2]

struct { ... } rb_execarg::cmd

## ◆ command_abspath

VALUE rb_execarg::command_abspath

Definition at line 2026 of file internal.h.

## ◆ command_name

VALUE rb_execarg::command_name

Definition at line 2025 of file internal.h.

## ◆ dup2_tmpbuf

VALUE rb_execarg::dup2_tmpbuf

Definition at line 2034 of file internal.h.

## ◆ env_modification

VALUE rb_execarg::env_modification

Definition at line 2060 of file internal.h.

## ◆ envp_buf

VALUE rb_execarg::envp_buf

Definition at line 2033 of file internal.h.

## ◆ envp_str

VALUE rb_execarg::envp_str

Definition at line 2032 of file internal.h.

## ◆ exception_given

unsigned rb_execarg::exception_given

Definition at line 2047 of file internal.h.

## ◆ fd_close

VALUE rb_execarg::fd_close

Definition at line 2057 of file internal.h.

## ◆ fd_dup2

VALUE rb_execarg::fd_dup2

Definition at line 2056 of file internal.h.

## ◆ fd_dup2_child

VALUE rb_execarg::fd_dup2_child

Definition at line 2059 of file internal.h.

## ◆ fd_open

VALUE rb_execarg::fd_open

Definition at line 2058 of file internal.h.

## ◆ gid [1/2]

rb_gid_t rb_execarg::gid

Definition at line 2054 of file internal.h.

## ◆ gid [2/2]

gid_t rb_execarg::gid

Definition at line 7663 of file rb_mjit_min_header-2.7.0.h.

## ◆ gid_given

unsigned rb_execarg::gid_given

Definition at line 2046 of file internal.h.

## ◆ invoke [1/2]

union { ... } rb_execarg::invoke

Referenced by rb_execarg_commandline().

## ◆ invoke [2/2]

union { ... } rb_execarg::invoke

## ◆ new_pgroup_flag

unsigned rb_execarg::new_pgroup_flag

Definition at line 2044 of file internal.h.

Referenced by rb_execarg_addopt().

## ◆ new_pgroup_given

unsigned rb_execarg::new_pgroup_given

Definition at line 2043 of file internal.h.

Referenced by rb_execarg_addopt().

## ◆ path_env

VALUE rb_execarg::path_env

Definition at line 2061 of file internal.h.

## ◆ pgroup_given

unsigned rb_execarg::pgroup_given

Definition at line 2036 of file internal.h.

Referenced by rb_execarg_addopt(), and rb_execarg_run_options().

## ◆ pgroup_pgid [1/2]

rb_pid_t rb_execarg::pgroup_pgid

Definition at line 2050 of file internal.h.

Referenced by rb_execarg_addopt().

## ◆ pgroup_pgid [2/2]

pid_t rb_execarg::pgroup_pgid

Definition at line 7659 of file rb_mjit_min_header-2.7.0.h.

## ◆ redirect_fds

VALUE rb_execarg::redirect_fds

Definition at line 2031 of file internal.h.

Referenced by rb_execarg_run_options().

## ◆ rlimit_limits

VALUE rb_execarg::rlimit_limits

Definition at line 2051 of file internal.h.

Referenced by rb_execarg_run_options().

## ◆ sh [1/2]

struct { ... } rb_execarg::sh

## ◆ sh [2/2]

struct { ... } rb_execarg::sh

## ◆ shell_script

VALUE rb_execarg::shell_script

Definition at line 2022 of file internal.h.

## ◆ uid [1/2]

rb_uid_t rb_execarg::uid

Definition at line 2053 of file internal.h.

## ◆ uid [2/2]

uid_t rb_execarg::uid

Definition at line 7662 of file rb_mjit_min_header-2.7.0.h.

## ◆ uid_given

unsigned rb_execarg::uid_given

Definition at line 2045 of file internal.h.

## ◆ umask_given

unsigned rb_execarg::umask_given

Definition at line 2037 of file internal.h.

## ◆ umask_mask

mode_t rb_execarg::umask_mask

Definition at line 2052 of file internal.h.

## ◆ unsetenv_others_do

unsigned rb_execarg::unsetenv_others_do

Definition at line 2039 of file internal.h.

Referenced by rb_execarg_run_options().

## ◆ unsetenv_others_given

unsigned rb_execarg::unsetenv_others_given

Definition at line 2038 of file internal.h.

Referenced by rb_execarg_run_options().

## ◆ use_shell

unsigned rb_execarg::use_shell

Definition at line 2035 of file internal.h.

Referenced by rb_execarg_commandline().

## ◆ waitpid_state

struct waitpid_state * rb_execarg::waitpid_state

Definition at line 2049 of file internal.h.

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

- internal.h
- /msysdev/ruby/src/build-x86_64-pc-msys/include/ruby-2.7.0/x86_64-msys/rb_mjit_min_header-2.7.0.h