Skip to content

Commit

Permalink
fix: Windows server_binary path adding unnecassary ".exe" (#2378)
Browse files Browse the repository at this point in the history
  • Loading branch information
woutermans authored Jun 8, 2024
1 parent f6126e2 commit d26ab73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/llama-cpp-server/src/supervisor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ impl LlamaCppSupervisor {
.expect("Failed to get parent directory")
.join(&binary_name)
.display()
.to_string()
+ std::env::consts::EXE_SUFFIX;
.to_string();
let mut command = tokio::process::Command::new(server_binary);

command
Expand Down

0 comments on commit d26ab73

Please sign in to comment.