xonsh/slug

Cache pgid

Opened this issue · 3 comments

Process (POSIX version) should somehow cache pgid so it's still available after the process exits.

Unless it should return None instead?

cache it in the ProcessGroup?

Yeah. Currently, after the process exits, the pgid is no longer available.