(path: &str)
| 28 | // #[cfg(all(desktop, not(test)))] |
| 29 | // pub struct PopupMenu<R: Runtime>(tauri::menu::Menu<R>); |
| 30 | |
| 31 | #[tauri::command] |
| 32 | fn stack_start(path: &str) -> String { |
| 33 | let path_owned = path.to_string(); |
| 34 | tauri::async_runtime::spawn(async move { |
| 35 | cli::run(&path_owned).await; |
| 36 | }); |
| 37 | // format!("{:?}", result) |
| 38 | format!("Running {} asynchronously", path) |
| 39 | } |
| 40 |