really fix win32 build :-p
I'm not actually on win32 so this is speculative!
This commit is contained in:
1 parent
6e07fc5b9a
commit
5eb3b122a6
1 file changed
+3
-3
@@ -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>)> {
|
||||
|
||||
Reference in new issue
Block a user