Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for supplementary groups for Linux #685

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ArDrambyan
Copy link

Closes #684

Changes

Functional

  • Adding a new optional suppGids parameter for node-pty.spawn that allows to provide supplementary group IDs for Linux. The parameter will take effect only if gid and uid are provided.

Technical

  • Fixed a minor typo in the README example.

@ArDrambyan
Copy link
Author

@microsoft-github-policy-service agree company="CodeSignal"

README.md Outdated
@@ -31,7 +31,7 @@ const ptyProcess = pty.spawn(shell, [], {
env: process.env
});

ptyProcess.onData((data) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this? on was deprecated some time ago and I don't think it's in the .d.ts anymore

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I made that change based on ITerminal from src/interfaces.ts. Reverted it back

@ArDrambyan ArDrambyan requested a review from Tyriar June 8, 2024 11:21
@ArDrambyan
Copy link
Author

Hi @Tyriar I addressed your comment. Can you review the PR again?

@Tyriar
Copy link
Member

Tyriar commented Jun 25, 2024

I assigned @deepak1556 to review, my comment was just a drive-by

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suplementary Groups
3 participants