summary refs log tree commit diff
path: root/posix/spawnattr_setflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/spawnattr_setflags.c')
-rw-r--r--posix/spawnattr_setflags.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/spawnattr_setflags.c b/posix/spawnattr_setflags.c
index 3e6fe4ef03..603bfcf911 100644
--- a/posix/spawnattr_setflags.c
+++ b/posix/spawnattr_setflags.c
@@ -26,7 +26,8 @@
 		   | POSIX_SPAWN_SETSCHEDPARAM				      \
 		   | POSIX_SPAWN_SETSCHEDULER				      \
 		   | POSIX_SPAWN_SETSID					      \
-		   | POSIX_SPAWN_USEVFORK)
+		   | POSIX_SPAWN_USEVFORK				      \
+		   | POSIX_SPAWN_TCSETPGROUP)
 
 /* Store flags in the attribute structure.  */
 int