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:
parent
0e581b151f
commit
3ee86a2e8b
@ -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)]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user