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

process: Add as_std() method to Command #4295

Merged
merged 4 commits into from
Dec 3, 2021
Merged

process: Add as_std() method to Command #4295

merged 4 commits into from
Dec 3, 2021

Conversation

ipetkov
Copy link
Member

@ipetkov ipetkov commented Dec 2, 2021

  • This allows callers to cheaply convert to a &std::process::Command and
    use any (immutable) methods added on the stdlib type in case they are
    missing from our own wrapper (e.g. because MSRV is lagging)

Refs #4285

* This allows callers to cheaply convert to a &std::process::Command and
  use any (immutable) methods added on the stdlib type in case they are
  missing from our own wrapper (e.g. because MSRV is lagging)
@ipetkov ipetkov added A-tokio Area: The main tokio crate M-process Module: tokio/process labels Dec 2, 2021
@ipetkov ipetkov requested a review from Darksonn December 2, 2021 21:42
@Darksonn Darksonn merged commit ee4b2ed into master Dec 3, 2021
@Darksonn Darksonn deleted the ivan/cmd_as_std branch December 3, 2021 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-process Module: tokio/process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants