From 5fee56440c10f81286699a4dd9e32506aa342d54 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 10 Jan 2012 16:30:59 +0100 Subject: Add a simple_notify plugin And also fix some issues, like the split of the exec_command arguments. And the doc for the plugin, too. --- src/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core.py') diff --git a/src/core.py b/src/core.py index 883eb8fa..1023c748 100644 --- a/src/core.py +++ b/src/core.py @@ -2164,7 +2164,10 @@ class Core(object): self.remote_fifo = None else: e = Executor(command.strip()) - e.start() + try: + e.start() + except ValueError as e: # whenever shlex fails + self.information('%s' % (e,), 'Error') def get_conversation_messages(self): """ -- cgit v1.2.3