Feature #355
/exec commands
90%
Description
in all (by me) known irc-clients i can use /exec to make an output to the channel, like:
/exec -o dmesg | tail
and the (konsole)output will be shown in the channel
with /exec without -o it will only be shown myself, with -o it will be public
History
#1 Updated by wizzy over 15 years ago
Where do you want this to be run?
The client or the server? Presumably the server.
#2 Updated by Sputnick over 15 years ago
- Status changed from New to Confirmed
- Assignee set to Sputnick
- Priority changed from High to Normal
- Target version set to 0.5.0
- % Done changed from 0 to 90
We already have /exec support in git master. However, -o we don't have yet, and that would be a nice thing to have, so I keep this report open.
Commands are run on the client side only, for various reasons (e.g. a client shouldn't be able to run anything on the server for security reasons).
#3 Updated by Sputnick about 15 years ago
- File 0001-Don-t-send-exec-output-by-default.patch 0001-Don-t-send-exec-output-by-default.patch added
- Status changed from Confirmed to Feedback
- Target version deleted (
0.5.0)
This patch adds -o support to /exec. However, seems that Konversation doesn't do this anymore, so it's not really standard in all clients apparently. Also, it would change existing behavior and break users' aliases. So I'm not at all sure anymore that we want that...
How about keeping the current behavior, and add a -t (test) or -p (pretend) option instead, that allows keeping the output local for testing purposes?
#4 Updated by Anonymous almost 13 years ago
- Target version set to Some future release
I second the -p/-t to hide output, mostly because one isn't able to run arbitrary commands without wrapper script and because of current behaviour.
#5 Updated by Anonymous almost 11 years ago
- Status changed from Feedback to Confirmed