Merge pull request #686 from silentrald/bugfix/linux-shell

[bugfix] change linux shell from /bin/bash to bash
This commit is contained in:
MathieuG-P
2024-12-10 15:51:42 +01:00
committed by GitHub
+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}`;