qterminal mishandles -e command

Bug #1883873 reported by Francois Gouget
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qterminal (Ubuntu)
New
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"

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.