wezterm-ssh: don't assume sh is in /bin

This improves compat with nixos
This commit is contained in:
Wez Furlong committed 2021-03-29 21:11:54 -07:00
1 parent 0e581b151f
commit 3ee86a2e8b
1 file changed
+1 -1
+1 -1
View File
@@ -129,7 +129,7 @@ impl SessionInner {
cmd = std::process::Command::new(comspec);
cmd.args(&["/c", proxy_command]);
} else {
cmd = std::process::Command::new("/bin/sh");
cmd = std::process::Command::new("sh");
cmd.args(&["-c", &format!("exec {}", proxy_command)]);
}