logged in and confirmed scopes worked

This commit is contained in:
Joshua Ferguson 2024-06-21 16:41:59 -04:00 committed by Ashley Wulber
parent 93a9524996
commit d6741d5786
2 changed files with 13 additions and 9 deletions

View file

@ -419,9 +419,8 @@ async fn start_component(
//currently pid is optional hence the double unwrap
let pids = process_manager.get_pid(key).await.unwrap().unwrap();
//spawn_scope takes a vec of pids in case we want to spawn a scope for multiple processes
spawn_scope(&format!("{cmd}.scope"), vec![pids])
spawn_scope(cmd.to_string(), vec![pids])
.await
.unwrap();
}
process_manager.get_pid(key).await.unwrap();
}