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 pty executor #111

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

Add pty executor #111

wants to merge 5 commits into from

Conversation

twizmwazin
Copy link
Owner

Implementation depends on merging #109 first.

TODO: Implement for Agent. Note to self: subprocess-rust has an option to use an Rc<File>. We can probably allocate a PTY, that'll give us raw fds, and then that can be wrapped into a rust file object. This might require a refactor in the state to support this, unless we can give the Popen struct ownership of the File (and therefore avoid the Rc)

@twizmwazin twizmwazin changed the title Feat/pty Add option to run commands using a pty Feb 16, 2024
@twizmwazin twizmwazin linked an issue Feb 16, 2024 that may be closed by this pull request
@twizmwazin twizmwazin added this to the 0.2 milestone Feb 16, 2024
@twizmwazin twizmwazin changed the title Add option to run commands using a pty Add pty executor Mar 27, 2024
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.

Use a pty for processes
1 participant