-
Notifications
You must be signed in to change notification settings - Fork 154
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
Child process manager api #64
Conversation
theseus/src/state/children.rs
Outdated
if let Some(child_stdout) = child.stdout.take() { | ||
let stdout_clone = stdout.clone(); | ||
tokio::spawn(async move { | ||
stdout_clone.read_stdout(child_stdout).await.unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no unwraps! properly handle errors here. by the way, does this sync up? like will this constantly stream input? the code seems to be just one time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one minor thing we should add
}, | ||
State, | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing that is missing is getting all running profiles. The main use case I see for this is displaying the running profile(s) in the app bar
* fix some styling (oops) * Update pnpm-lock.yaml
Fixes MOD-335