more options

This commit is contained in:
SpikeHD
2023-04-21 17:03:04 -07:00
parent a67eca49e5
commit 4bcfd7ec09
3 changed files with 28 additions and 8 deletions

View File

@@ -67,6 +67,8 @@ pub fn run_jar(path: String, execute_in: String, java_path: String) {
format!("\"{}\" -jar \"{}\"", java_path, path)
};
println!("Launching .jar with command: {}", &command);
// Open the program from the specified path.
match open::with(
format!("/k cd /D \"{}\" & {}", &execute_in, &command),