elementary / elementary/terminal

Close terminal after external call and cmd execution

Open
#624 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
428
Forks
104
Avg merge
1d 54m
Merged PRs (30d)
2

Description

## Problem
I don't wanna install xterm to run scripts with .desktop (`Terminal=true`). In order to fix that, I'm using `io.elementary.terminal -x run_script.sh`. The problem is that, after execution, the terminal doesn't close. I've tried many workarounds using `exit` without luck. It only worked using:
```
Exec=io.elementary.terminal -e bash run_script.sh;exit
```
With gnome-terminal and xterm, it exists after cmd execution.

## Proposal
Close terminal after cmd execution.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.