Closed MikaelSmith closed 4 years ago
There's one more issue I'm investigating with zsh
zsh: can't set tty pgrp: operation not permitted
One difference I've found is that running go run wash.go
starts with Wash in the go run ...
process group, and when zsh exits it returns the tty to that process group. Where-as starting wash
, it starts in its own process group which gets reparented to be under the zsh session, so trying to return the tty to the parent process group fails because you're not allowed to switch control that direction.
Updated.
Fix regressions introduced by #635. Supports #297.