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

refactor/pty: manually fork and exec #64

Merged
merged 5 commits into from
Feb 12, 2025
Merged

refactor/pty: manually fork and exec #64

merged 5 commits into from
Feb 12, 2025

Conversation

kxxt
Copy link
Owner

@kxxt kxxt commented Feb 12, 2025

std::process::Command is too heavy weight. To lessen the requirement of pre_exec from FnMut() to FnOnce() and simplify future work(we need it to return after fork, not after exec), manually fork and exec.

@kxxt kxxt merged commit 1a57764 into main Feb 12, 2025
11 checks passed
@kxxt kxxt deleted the refactor-cmd branch February 12, 2025 13:31
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.

1 participant