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: kill child on error while spawning #6803

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Aug 27, 2024

  1. process: kill child on error while spawning

    There's a chance that between spawning of the `std Child`, and wrapping
    it into a tokio impl an error can occurs, which would leave the child
    alive, with no way to access it from the user side and not being part
    of the tokio runtime.
    
    This commit fixes that issue by wrapping the `std Child` right after
    spawning with a struct that implements Drop, where the child would
    be killed if it's dropped.
    
    Fixes: tokio-rs#6797
    Maki325 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b68da52 View commit details
    Browse the repository at this point in the history
  2. clippy and FreeBSD fix

    Maki325 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    9cc1bfb View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    34888ce View commit details
    Browse the repository at this point in the history