Bug#783000: mate-terminal.wrapper fails with double quotes in the command line
sunweaver at debian.org
Tue May 12 09:08:42 UTC 2015
Control: forwarded -1 https://github.com/mate-desktop/mate-terminal/pull/88/commits
Control: tags -1 patch
On Mon, Apr 20, 2015 at 11:52:54AM +0000, Mike Gabriel wrote:
> Package: mate-terminal
> Severity: important
> Version: 1.8.1+dfsg1-4
> 13:37 < flexiondotorg> sunweaver, If x-terminal-emulator is used and uses -e
> with a double quoted command the wrapper doesn't support double quoting.
> 13:38 < sunweaver> do you have a patch already`
> 13:38 < sunweaver> ?
> 13:38 < flexiondotorg> sunweaver, No patch yet,
> 13:38 < sunweaver> ok.
> 13:38 < flexiondotorg> sunweaver, For example x-terminal-emulator -e sh -c
> 'echo hello && sleep 5' will work.
> 13:39 < flexiondotorg> But xterminal-emulator -e "sh -c 'echo hello &&
> sleep 5'" won't
> 13:40 < flexiondotorg> sunweaver, I have one quick patch.
> 13:40 < flexiondotorg> sunweaver, I think.
> 13:42 < sunweaver> ok...
> 13:42 * sunweaver is currently into some other stuff...
> 13:42 < sunweaver> If you can send a patch to BTS?
> 13:42 < sunweaver> or at least those two below command lines?
> 13:42 < sunweaver> s/below/above/ , of course...
> 13:43 < flexiondotorg> sunweaver, http://paste.ubuntu.com/10855701/
> 13:43 < flexiondotorg> That is adapted from gnome-terminal.wrapper and works.
> 13:44 < flexiondotorg> However, this is perl where as the upstream is
> python. Thoughts?
> 13:45 < flexiondotorg> sunweaver, ^^^ >
> 13:46 < sunweaver> I don't feel well diverging from upstream here.
> 13:46 < sunweaver> Unless they accept the Perl script for some later
> upstream version.
> The referenced "paste" is attached.
We now have an upstream commit  for this. This issue should be fixed in jessie IMHO.
mike gabriel aka sunweaver (Debian Developer)
fon: +49 (1520) 1976 148
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: sunweaver at debian.org, http://sunweavers.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the pkg-mate-team