Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmux-tui/crates/acpmux/src/hub/bg_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ impl Hub {
notify: bool,
result_line: bool,
) -> Result<Value, RpcError> {
self.bg_start_with_id(session, command, cwd, None, description, notify).await
self.bg_start_with_id(session, command, cwd, None, description, notify, result_line).await
}

/// Workflow-only stable identity. The durable claim is written before spawning, so an
/// uncertain launch is never executed a second time after a daemon crash.
#[allow(clippy::too_many_arguments)]
pub(crate) async fn bg_start_with_id(
self: &Arc<Self>,
session: &Arc<Session>,
Expand All @@ -72,6 +73,7 @@ impl Hub {
fixed_id: Option<&str>,
description: Option<String>,
notify: bool,
result_line: bool,
) -> Result<Value, RpcError> {
if command.trim().is_empty() {
return Err(RpcError::invalid_params("command is empty"));
Expand Down
1 change: 1 addition & 0 deletions cmux-tui/crates/acpmux/src/hub/workflow_activity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ impl Hub {
Some(&task_id),
None,
false,
false,
)
.await?;
drop(gate);
Expand Down
Loading