qterminal mishandles -e command

Bug #1883873 reported by Francois Gouget
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qterminal (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

To reproduce this issue run:

  qterminal -e sh -c "vi /etc/passwd"

This should open /etc/passwd in the vi editor. But instead it runs vi without any argument:

$ qterminal -e sh -c "vi /etc/passwd"
[...]
Shell program: "sh -c vi /etc/passwd"
("sh", "-c", "vi", "/etc/passwd")
[...]

Compare this to other terminal emulators that x-terminal-emulator may point to:

  konsole -e sh -c "vi /etc/passwd"
  lxterm -e sh -c "vi /etc/passwd"
  xterm -e sh -c "vi /etc/passwd"

Revision history for this message
Simon Quigley (tsimonq2) wrote :

I can no longer reproduce this, please follow up if you can on 22.04+.

Changed in qterminal (Ubuntu):
status: New → Incomplete
Revision history for this message
sudodus (nio-wiklund) wrote :

I cannot reproduce this in Noble.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qterminal (Ubuntu) because there has been no activity for 60 days.]

Changed in qterminal (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.