Replace cmd script with a new version written in Python.
author Eike Hein
()
committer Eike Hein
()
commit 7189c22f8b879e51c7cb0c46887c76b6b8c7f409
tree f62dab17ae0cdb02afd0fa6bc9130742c6b85419
parent 24018250dbfab5f49b596bf84833576fbaf12201
Replace cmd script with a new version written in Python.

- Fixes a bunch of bugs in the old Perl version, such as claiming
a command does not exist when it returned no output or only empty
lines (now an appropriate info message gets shown to the user in
that case), as well as generating faulty D-Bus calls when trying
to forward empty output lines to Konversation (output lines con-
taining only whitespace are no longer forwarded).
- stderr output is now shown to the user (not sent to the server,
of course) instead of being silently swallowed.
- Trailing whitespace is now stripped from output lines.
ChangeLog
data/scripts/cmd