<rdar://problem/5487989> Regression due to 5475980
--- trunk/launchd/src/launchproxy.c 2007-09-18 16:37:12 UTC (rev 23404)
+++ trunk/launchd/src/launchproxy.c 2007-09-18 18:28:04 UTC (rev 23405)
@@ -182,6 +182,8 @@
continue;
}
+ setpgid(0, 0);
+
if ((tmp = launch_data_dict_lookup(resp, LAUNCH_JOBKEY_SESSIONCREATE)) && launch_data_get_bool(tmp)) {
if (SessionCreate) {
OSStatus scr = SessionCreate(0, 0);