summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-23 14:21:47 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-23 14:21:47 +0000
commitf1734b4287e81ad281924c9acf89a754e43c6e2e (patch)
tree5c7f43de7f01fa711912de718a02e1ddddf29261 /internal.h
parent345ecf3711998c8792c075e5d1093ca6a872474c (diff)
* internal.h (rb_execarg): add new_pgroup_given and new_pgroup_flag
fields. * process.c (EXEC_OPTION_NEW_PGROUP): removed. (proc_spawn_cmd): take a struct rb_execarg argument. use the new fields. (rb_execarg_addopt): use the new fields. (rb_spawn_process): follow the proc_spawn_cmd change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 674525daf0..cbcfe4ecf2 100644
--- a/internal.h
+++ b/internal.h
@@ -183,6 +183,8 @@ struct rb_execarg {
unsigned close_others_given : 1;
unsigned close_others_do : 1;
unsigned chdir_given : 1;
+ unsigned new_pgroup_given : 1;
+ unsigned new_pgroup_flag : 1;
pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */
VALUE rlimit_limits; /* Qfalse or [[rtype, softlim, hardlim], ...] */
mode_t umask_mask;