-
-
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
[feat] expose wait
and try_wait
on CommandChild
#6634
Comments
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
So there is |
yeah thats a way to do it, but |
It is not enough for spawned processes that execute binaries that can run undefinitely and must be terminated with user-input (or signal/events such as screen recording tasks). It would be very nice to spawn the process, do something else and when necessary wait for the child process output. @amrbashir |
+1 for this. I need this to check if a sidecar process unexpectedly closed. In that case the CommandChild object is still present. |
superseeded by tauri-apps/plugins-workspace#1920 |
Describe the problem
I need to wait for a process to finish and the only way to do it is with the methods provided by Rust.
Describe the solution you'd like
Expose the functions from
Child
that let you do thisAlternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: