dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Consider renaming @server and @client for windows compatability

Open ealmloff opened this issue 2 months ago • 1 comments

Issue

The CLI currently accepts @ arguments to pass different args to different builds. Unfortunately, @ has a special meaning in powershell on windows which can result in some confusing errors. On windows, it can also mean splatting

We could use another symbol like ?.

Workarounds

If you find this issue after running into the above error, surrounding @server or @client in quotes fixes the issue:

dx serve "@server" --server

ealmloff avatar Dec 18 '25 19:12 ealmloff

doesn't ? correspond to single-char glob in posix shells? wouldn't that ruin it then?

jarjk avatar Dec 22 '25 12:12 jarjk