mirror of
https://github.com/sheumann/hush.git
synced 2025-01-10 16:29:44 +00:00
01dbfccea6
This addresses a problem where something invoked in a group or function (e.g. gsh) could change the terminal's pgrp, and this would result in hush getting backgrounded. We can still get strange behavior when a backgrounded child process changes the pgrp. Trying to deal with this would be inherently racy. Gsh also has problems in this scenario.