mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 06:41:15 -03:00
Real fix for https://github.com/fish-shell/fish-shell/issues/278
We forget to set the parent group ID in posix_spawn (!)
This commit is contained in:
@@ -412,6 +412,9 @@ bool fork_actions_make_spawn_properties(posix_spawnattr_t *attr, posix_spawn_fil
|
||||
if (! err)
|
||||
err = posix_spawnattr_setflags(attr, flags);
|
||||
|
||||
if (! err && should_set_parent_group_id)
|
||||
err = posix_spawnattr_setpgroup(attr, desired_parent_group_id);
|
||||
|
||||
/* Everybody gets default handlers */
|
||||
if (! err && reset_signal_handlers)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user