diff --git a/theseus/src/state/children.rs b/theseus/src/state/children.rs
index 9cb079881..e0ca2e404 100644
--- a/theseus/src/state/children.rs
+++ b/theseus/src/state/children.rs
@@ -127,6 +127,14 @@ impl Children {
}
}
if !mc_exit_status.success() {
+ emit_process(
+ uuid,
+ current_pid,
+ ProcessPayloadType::Finished,
+ "Exited process",
+ )
+ .await?;
+
return Ok(mc_exit_status); // Err for a non-zero exit is handled in helper
}
diff --git a/theseus_gui/src/App.vue b/theseus_gui/src/App.vue
index a8880b6a7..eea974199 100644
--- a/theseus_gui/src/App.vue
+++ b/theseus_gui/src/App.vue
@@ -75,24 +75,24 @@ const loading = useLoading()