wezterm-ssh: don't assume sh is in /bin
This improves compat with nixos
This commit is contained in:
1 parent
0e581b151f
commit
3ee86a2e8b
1 file changed
+1
-1
@@ -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)]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user