mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
maybe fix win32 build for real
nth time's the charm!
This commit is contained in:
parent
5eb3b122a6
commit
9e1a6c5a75
@ -443,7 +443,9 @@ impl CommandBuilder {
|
||||
.get_env("ComSpec")
|
||||
.unwrap_or(OsStr::new("cmd.exe"))
|
||||
.into();
|
||||
Ok(exe.into_string()?)
|
||||
Ok(exe
|
||||
.into_string()
|
||||
.unwrap_or_else(|| "%CompSpec%".to_string()))
|
||||
}
|
||||
|
||||
pub(crate) fn cmdline(&self) -> anyhow::Result<(Vec<u16>, Vec<u16>)> {
|
||||
|
Loading…
Reference in New Issue
Block a user