Skip to content

Tab closes after command launched from commandline exits #929

@jeremypw

Description

@jeremypw

What Happened?

With some commands e.g. "sleep 3" or "conda activate ", if launched from the commandline with the -e or -x option, the tab they were running in closes after the foreground process ends so the output cannot be seen or, in the case of conda the required environment used.

According to the code comments this is not the intended behaviour. The tab should remain open.

Steps to Reproduce

  1. Run io.elementary.terminal -e "sleep 3" from the commandline.
  2. Observe tab closes

Expected Behavior

The tab stays open

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions