really fix win32 build :-p

I'm not actually on win32 so this is speculative!
This commit is contained in:
Wez Furlong committed 2022-04-06 18:49:48 -07:00
1 parent 6e07fc5b9a
commit 5eb3b122a6
1 file changed
+3 -3
+3 -3
View File
@@ -439,11 +439,11 @@ impl CommandBuilder {
}
pub fn get_shell(&self) -> anyhow::Result<String> {
Ok(self
let exe: OsString = self
.get_env("ComSpec")
.unwrap_or(OsStr::new("cmd.exe"))
.into()
.into_string()?)
.into();
Ok(exe.into_string()?)
}
pub(crate) fn cmdline(&self) -> anyhow::Result<(Vec<u16>, Vec<u16>)> {