Skip to content

Commit

Permalink
Merge pull request #686 from silentrald/bugfix/linux-shell
Browse files Browse the repository at this point in the history
[bugfix] change linux shell from /bin/bash to bash
  • Loading branch information
Zagrios authored Dec 10, 2024
2 parents 17e9699 + 097eb70 commit 60c4106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/helpers/os.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 60c4106

Please sign in to comment.