1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

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

This improves compat with nixos
This commit is contained in:
Wez Furlong 2021-03-29 21:11:54 -07:00
parent 0e581b151f
commit 3ee86a2e8b

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)]);
}