mirror of
https://github.com/dnlbauer/WHAM.git
synced 2026-09-10 22:25:31 +00:00
add pi to min/max
This commit is contained in:
13
tests/command.rs
Normal file
13
tests/command.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use std::process::Command;
|
||||
use std::env;
|
||||
|
||||
pub fn get_command() -> Command {
|
||||
let exe = env::current_exe().unwrap();
|
||||
let path = exe.to_str().unwrap();
|
||||
let cmd = if path.contains("release") {
|
||||
"./target/release/wham"
|
||||
} else {
|
||||
"./target/debug/wham"
|
||||
};
|
||||
Command::new(cmd)
|
||||
}
|
||||
Reference in New Issue
Block a user