fix(single-instance): forward non-Unicode arguments and cwd (#3644)

* Update windows.rs

* Create single-instance-non-unicode-args.md

* fix on linux and windows too

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
justanotheranonymoususerandLucas Nogueira authored and Lucas Nogueira committed 2026-10-09 15:25:15 -03:00
1 parent 677258138b
commit 323fe80df1
5 files changed
+24 -11

No files matched your search

@@ -0,0 +1,5 @@
---
"single-instance": patch
---
A second instance no longer panics when a command-line argument is not valid Unicode: such an argument is forwarded with its invalid parts replaced by U+FFFD. A working directory that is not valid Unicode is now forwarded the same way instead of as an empty string.