microsoft / node-pty

Fork pseudoterminals in Node.JS
Other
1.43k stars 232 forks source link

Spawning a terminal won't work correctly with gid = 0. #547

Closed dejtor closed 2 years ago

dejtor commented 2 years ago

Environment details

Issue description

Spawning a terminal won't work correctly with gid = 0. It will act as gid is not sent.

https://github.com/microsoft/node-pty/blob/1674722e1caf3ff4dd52438b70ed68d46af83a6d/src/unixTerminal.ts#L71