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 and wsxiaoys committed Jun 10, 2024
1 parent e2c7a9d commit 4b61375
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 4b61375

Please sign in to comment.