Skip to content

Conversation

@jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Oct 23, 2025

Fixes #929
Fixes #311 (afaict)

Instead of spawning the requested program directly with Vte (which automatically creates a shell to run it in), we create the shell as usual and then feed the command in as if typed at the commandline. This leads to more predictable results and the shell does not exit with its child.

It is also now possible to run a sequence of commands in the same tab without using a script by separating them with semi-colons and enclosing in quotes:
io.elementary.terminal -e "command1;command2;command3"

This PR arises from the discussion at #926

@jeremypw jeremypw marked this pull request as ready for review October 23, 2025 17:22
@jeremypw jeremypw added this to the 7.1.3 milestone Nov 4, 2025
@jeremypw jeremypw requested a review from a team November 4, 2025 09:16
@jeremypw jeremypw modified the milestones: 7.1.3, 8.1 Nov 13, 2025
@jeremypw jeremypw marked this pull request as draft November 13, 2025 11:01
@jeremypw jeremypw added the Status: Blocked Something else needs to be done before this can be fixed label Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Blocked Something else needs to be done before this can be fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tab closes after command launched from commandline exits Elementary terminal does not properly respect -e flag

3 participants