[bugfix] change linux shell from /bin/bash to bash

This commit is contained in:
silentrald
2024-12-10 12:22:00 +08:00
parent 17e96996bb
commit 097eb709c3
+2 -2
View File
@@ -41,8 +41,8 @@ function updateCommand(command: string, options: BsmSpawnOptions) {
if (process.platform === "linux") {
// "/bin/sh" does not see flatpak-spawn
// Most Debian and Arch should also support "/bin/bash"
options.options.shell = "/bin/bash";
// All distros should support "bash" by default
options.options.shell = "bash";
if (options.linux?.prefix) {
command = `${options.linux.prefix} ${command}`;