Skip to content

Terminal closes immediately after opening when bash does not exist in PATH #424

@darkuranium

Description

@darkuranium

I'm trying out the IDE, but I ran into a trouble with opening the terminal --- it immediately closes.

I've managed to spot an error message which sometimes flashes for just 1 frame: "No such file or directory". Following that rabbit hole, I ultimately found the problem to be the implicit assumption in various places in the code on bash existing (which does not exist by default in FreeBSD).

I think two things would be useful here:

  1. Make the default shell configurable in configs/*; for example, I personally prefer mksh to bash.
    A potential hack is to use ln -s /usr/local/bin/mksh ~/.local/bin/bash, but that feels ... wrong.
  2. Output an actual error/warning when opening the terminal itself fails (whether in log or in UI), it would help narrow down the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions