diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-12-06 01:05:40 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-09-22 18:50:26 +1200 |
commit | 7db021f83bc68420746835bb92fce9a5d5a93d9b (patch) | |
tree | b4990c47f098448f04f55de6b99724473f1320a0 /internal | |
parent | f8bf766877782468c4da8c1cecaf21ce9eac3684 (diff) | |
download | ruby-7db021f83bc68420746835bb92fce9a5d5a93d9b.tar.gz |
Add support for non-blocking `Kernel.system`.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/process.h b/internal/process.h index 42081a4d88..75e7db5b42 100644 --- a/internal/process.h +++ b/internal/process.h @@ -26,6 +26,7 @@ #define RB_MAX_GROUPS (65536) struct waitpid_state; +struct rb_process_status; struct rb_execarg { union { struct { @@ -56,6 +57,7 @@ struct rb_execarg { unsigned gid_given : 1; unsigned exception : 1; unsigned exception_given : 1; + struct rb_process_status *status; struct waitpid_state *waitpid_state; /* for async process management */ rb_pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */ VALUE rlimit_limits; /* Qfalse or [[rtype, softlim, hardlim], ...] */ |