You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediarepo/mediarepo-api/src/daemon_management/mod.rs

10 lines
198 B
Rust

use pathsearch::find_executable_in_path;
use std::path::PathBuf;
pub mod cli;
pub mod error;
pub fn find_daemon_executable() -> Option<PathBuf> {
find_executable_in_path("mediarepo-daemon")
}