Skip to content

Commit e803efa

Browse files
committed
Fix WSL convert
1 parent 7dc805b commit e803efa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src-tauri/src/windows.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,13 @@ pub fn convert(
9797
let real_path = if replace_backslash {
9898
path.replace('\\', "\\\\")
9999
} else {
100-
path
100+
path.to_string()
101101
};
102102
cmd.arg(real_path);
103103

104104
#[cfg(windows)]
105105
cmd.creation_flags(0x08000000); // CREATE_NO_WINDOW
106106

107-
println!("Executing command: {:?}", cmd);
108-
109107
let output = cmd
110108
.output()
111109
.map_err(|e| format!("Error executing wsl.exe: {}", e))?;

0 commit comments

Comments
 (0)