#857020 sakura does not like to execute shells that take -c options containing multiple commands

Package:
sakura
Source:
sakura
Description:
simple but powerful libvte-based terminal emulator
Submitter:
Peter Peterson
Date:
2026-08-08 02:53:06 UTC
Severity:
normal
Tags:
#857020#5
Date:
2017-03-07 09:31:27 UTC
From:
To:
Dear Maintainer,

sakura --help advertizes -e option to execute commands like xterm does and
this works as exspected for commands like sakura -e /bin/bash -c 'read x'
(sakura window is shown and exits after enter key is pressed) but
sakura -e /bin/bash -c 'ls; read x' just quits without any window being shown.
Same is is the case for sakura -e /bin/bash -c 'ls && read x'. Both commands
work as exspected when not being run trough sakuras -e option.

#857020#12
Date:
2017-03-07 12:04:06 UTC
From:
To:
The code in the referenced report seems to rely on the fact that xterm implicitly executes the supplied command in a shell but sakura does'nt (can be verified by trying sakura -e 'read x' vs. xterm -e 'read x' which works in xterm but sakura complains about being unable to locate read since it's a builtin shell command). I am explicitly asking sakura to run a shell with the given parameters. I am at loss why this could fail if the -c paramater of the given shell (in my case bash but i also tried lksh) contains a semicolon or && operator since i dont see why sakura would do anything with these besides passing them to them on unchanged.
#857020#19
Date:
2017-03-17 10:38:56 UTC
From:
To:
forwarded 857020 https://bugs.launchpad.net/sakura/+bug/1673740
thanks

Indeed, I can reproduce, and have forwarded to a new upstream report
with your extra information.
Thanks!