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

Swap to the internal/exec pkg for host process containers #1248

Merged
merged 2 commits into from
Dec 20, 2021

Conversation

dcantah
Copy link
Contributor

@dcantah dcantah commented Dec 19, 2021

This change swaps to using the new internal/exec package for host process containers to make use of the pseudo console functionality and ability to launch a process in a job object at creation time instead of assigning shortly after. This PR additionally adds in the bits needed to get tty support for host process up and running. See below for it in action:

hpctty.mp4

This change swaps to using the new internal/exec package for host process
containers to make use of the pseudo console functionality and ability to
launch a process in a job object at creation time instead of assigning
shortly after. This does not add in the implementation for pseudo console
usage, just changes to the package that allows the functionality.

Signed-off-by: Daniel Canter <[email protected]>
This change adds in the necessary bits to get tty support for host
process containers working by leveraging the pseudo console APIs in
Windows and the new internal/exec package.

Signed-off-by: Daniel Canter <[email protected]>
@dcantah dcantah requested a review from a team as a code owner December 19, 2021 16:53
@dcantah dcantah linked an issue Dec 19, 2021 that may be closed by this pull request
@dcantah
Copy link
Contributor Author

dcantah commented Dec 20, 2021

fyi @jsturtevant @marosset as you'll be happy haha

@helsaawy
Copy link
Contributor

overall, lgtm 👍🏼

@dcantah dcantah merged commit 0380312 into microsoft:master Dec 20, 2021
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.

Support TTY for hostprocess containers
3 participants