diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-22 11:30:29 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-22 11:30:29 +0000 |
commit | bcadfd9c083c8893dcc428cbd969809c1db8dac1 (patch) | |
tree | 9de7b46ea4077441e292d85f01f4b4da7de4c249 /internal.h | |
parent | 7b036a8ea78e713adbd29778612693d405b91813 (diff) | |
download | ruby-bcadfd9c083c8893dcc428cbd969809c1db8dac1.tar.gz |
* internal.h (rb_execarg): add pgroup_given and pgroup_pgid fields.
* process.c (EXEC_OPTION_PGROUP): removed.
(rb_execarg_addopt): update the new fields, instead of options array.
(run_exec_pgroup): take a struct rb_execarg argument. refer the new
fields.
(rb_execarg_run_options): follow run_exec_pgroup change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 1c73eadb84..3d7a68c95b 100644 --- a/internal.h +++ b/internal.h @@ -176,7 +176,9 @@ struct rb_execarg { VALUE envp_str; VALUE envp_buf; VALUE dup2_tmpbuf; + unsigned pgroup_given : 1; unsigned umask_given : 1; + pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */ mode_t umask_mask; }; |