Skip to content

Commit

Permalink
🚑 fix a Windows build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellWen committed Jan 2, 2025
1 parent e3e20f3 commit 3feadca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/launcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn launch_with_remote_thread_inject(executable: &str, args: &[&str], lib_path: &
"\"{}\" {}",
executable,
args.iter()
.map(|arg| arg.as_ref().to_string_lossy().into_owned())
.map(|arg| arg.to_string_lossy().into_owned())
// .map(|arg| format!("\"{}\"", arg))
.collect::<Vec<String>>()
.join(" ")
Expand Down

0 comments on commit 3feadca

Please sign in to comment.