Rizin
unix-like reverse engineering framework and cli tools
rz_subprocess_opt_t Struct Reference

#include <rz_subprocess.h>

Public Attributes

const char * file
 < Name of the executable to run. It is searched also in PATH More...
 
const char ** args
 Number of arguments in args array. More...
 
size_t args_size
 Names of environment variables that subprocess should have differently from parent. More...
 
const char ** envvars
 Values of environment variables that subprocess should have differently from parent. More...
 
const char ** envvals
 Number of elements contained in both envvars and envvals. More...
 
size_t env_size
 Specify how to deal with subprocess stdin. More...
 
RzSubprocessPipeCreate stdin_pipe
 Specify how to deal with subprocess stdout. More...
 
RzSubprocessPipeCreate stdout_pipe
 Specify how to deal with subprocess stderr. More...
 
RzSubprocessPipeCreate stderr_pipe
 

Detailed Description

Specify how the new subprocess should be created.

Definition at line 57 of file rz_subprocess.h.

Member Data Documentation

◆ args

const char** rz_subprocess_opt_t::args

Number of arguments in args array.

Definition at line 61 of file rz_subprocess.h.

Referenced by cmd_descs_generate.CmdDesc::__str__(), cmd_descs_generate.CmdDesc::_validate(), and rz_subprocess_start_opt().

◆ args_size

size_t rz_subprocess_opt_t::args_size

Names of environment variables that subprocess should have differently from parent.

Definition at line 63 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().

◆ env_size

size_t rz_subprocess_opt_t::env_size

Specify how to deal with subprocess stdin.

Definition at line 69 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().

◆ envvals

const char** rz_subprocess_opt_t::envvals

Number of elements contained in both envvars and envvals.

Definition at line 67 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().

◆ envvars

const char** rz_subprocess_opt_t::envvars

Values of environment variables that subprocess should have differently from parent.

Definition at line 65 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().

◆ file

const char* rz_subprocess_opt_t::file

< Name of the executable to run. It is searched also in PATH

Arguments to pass to the subprocess. These are just the arguments and do not include the program name (aka argv[0])

Definition at line 59 of file rz_subprocess.h.

Referenced by rz_subprocess_start(), rz_subprocess_start_opt(), rz_sys_cmd_str_full(), system_exec(), and system_exec_stdin().

◆ stderr_pipe

RzSubprocessPipeCreate rz_subprocess_opt_t::stderr_pipe

Definition at line 75 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().

◆ stdin_pipe

RzSubprocessPipeCreate rz_subprocess_opt_t::stdin_pipe

Specify how to deal with subprocess stdout.

Definition at line 71 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().

◆ stdout_pipe

RzSubprocessPipeCreate rz_subprocess_opt_t::stdout_pipe

Specify how to deal with subprocess stderr.

Definition at line 73 of file rz_subprocess.h.

Referenced by rz_subprocess_start_opt().


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