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

Add a function to send ExitStatus message to Channel #465

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

procr1337
Copy link
Contributor

This is a non-breaking change which adds a way to send ExitStatus over a channel. This makes it possible to write simple command/shell handlers which consume a Channel and perform some shell interaction. Such handlers can then be spawned in response to an exec_request or shell_request.

Using the &mut Session to try and send the ExitStatus message instead is not easy for longer living interactions (that don't immediately return).

@Eugeny
Copy link
Owner

Eugeny commented Feb 19, 2025

Thank you!

@Eugeny
Copy link
Owner

Eugeny commented Feb 19, 2025

@all-contributors add @procr1337 for code

Copy link
Contributor

@Eugeny

I've put up a pull request to add @procr1337! 🎉

@Eugeny Eugeny merged commit 07d6243 into Eugeny:main Feb 19, 2025
7 checks passed
Eugeny pushed a commit that referenced this pull request Feb 19, 2025
Adds @procr1337 as a contributor for code.

This was requested by Eugeny [in this
comment](#465 (comment))

[skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
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.

2 participants