ksh tries to set the process group of a pipe to that of the first process but if it finishes too soon then it's not a valid process group id for later processes. And posix_spawn() will fail harder than just retrying setpgrp() with the parent pgid.

$ alias | fgrep foo
is how I usually trigger this.

Only workaround is to disable use of posix_spawn.
Anything better beside turning it back on when non-interactive?
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to