Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

No way to Close a process #31

@seertenedos

Description

@seertenedos

In my case i was to kick off an async process but after some time i sometimes need to stop it gracefully so it can clean up after itself. I was going to use the cancellation token for this but that uses the kill method right away not the close meaning the process does not get a chance to clean itself up nicely.

There have also been cases where i want to check the error and output streams before the process ends. It would be nice if there was another method that returns an object instead of a task that has the streams, process status and a few methods like close on it as will as a task in there that you can await on for the process to finish. That way you still have access to the info and methods as well as being able to await the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions