(path: &str)
| 28 | |
| 29 | #[tauri::command] |
| 30 | fn stack_start(path: &str) -> String { |
| 31 | let path_owned = path.to_string(); |
| 32 | tauri::async_runtime::spawn(async move { |
| 33 | cli::run(&path_owned).await; |
| 34 | }); |
| 35 | // format!("{:?}", result) |
| 36 | format!("Running {} asynchronously", path) |
| 37 | } |
| 38 | |
| 39 | // #[tauri::command] |
| 40 | // fn mouse_over() -> Result<(), String> { |