Skip to content

Commit

Permalink
fix run_command
Browse files Browse the repository at this point in the history
  • Loading branch information
fishman committed Oct 18, 2024
1 parent 86a8538 commit d5aa392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl UserData for MyLuaFunctions {

methods.add_async_method("run", |_lua, _this, command: String| async move {
debug!("run function called {}", command.clone());
let _handle = run(command);
let _handle = run(command).await;
Ok(())
});

Expand Down

0 comments on commit d5aa392

Please # to comment.