You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: