-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
tokio-process: change CommandExt to a fully asynchronous Command struct #1448
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @Kobzol, looks great!
Happy to merge this in once the CI is squared away.
Feel free to ping me if you need help wording anything around the docs (though I imagine we can largely adapt what the std docs say and that should be enough)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left some suggestions for some minor typo fixes. Also appears there's a merge conflict so we should rebase
I applied the suggestions, squashed the commits and rebased onto master. |
Seems the CI is failing now, looks like the imports need a quick tweak? |
Thanks, I screwed up solving a merge conflict while rebasing onto master. |
CI was failing due to missing the fix added in #1464 I figured out how to update the branch after rebasing again on the latest master, let's see if this fixes the CI |
CI is green, going to merge this in, thanks again @Kobzol! |
#1371 suggested to rewrite
CommandExt
in a way similar totokio-fs
(wrap thestd
struct and expose only asynchronous functions). I started rewriting Command in such a way.Documentation and doctests are not updated yet, I just transformed the minimum amount of code to make tests pass. Please let me know if it's OK and if I shall continue :)
Refs: #1371