combine ExecError with LaunchError and use Session::try_get() instead of matching

This commit is contained in:
jfmonty2 committed 2023-08-03 21:57:55 -07:00
1 parent 890f715388
commit a51b20add7
6 files changed
+38 -43

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ fn default_term_config() -> TermConfig {
{
if let Ok(path) = which::which("pwsh.exe") {
return TermConfig {
name: exe.into(),
name: "pwsh.exe".into(),
exec: "conhost.exe".into(),
args: vec![path.into_os_string()]
};