mirror of
https://github.com/wez/wezterm.git
synced 2024-11-24 07:46:59 +03:00
8d1af908bf
* Taught wezterm-mux-server how to `--daemonize` on windows * Removed pty based command spawn used to spawn unix domain servers. This was present because it was the only way to successfully spawn wsl in the past. What I'm finding today is that it doesn't work at all for me, generating an `0xc0000142` Application failed to initialize error. A plain command builder spawn seems to work, so that's what we're going with. * Ensure that we put `.exe` on executable name on windows, otherwise the spawn may fail. * `Path::exists()` always returns false for unix domain sockets on Windows, so unconditionally try to remove the socket before binding, otherwise the bind will falsely fail, claiming that another process is already bound. The docs for mux will need to be updated to show how to revise them for the new mux server invocation: ```lua unix_domains = { { name = "wsl", serve_command = {"wsl", "wezterm-mux-server", "--daemonize"} }, } ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |