summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-10-29 07:03:49 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-10-29 07:03:49 +0200
commitcb2796abc5e3732dc199414bb1cbe166e0d57ae3 (patch)
tree9f985fbc5fad69b7e6236da1d00d0c0689d47ed1
parentafcc3870021ddfda19fdee5069349ed8e929a077 (diff)
downloadpoezio-cb2796abc5e3732dc199414bb1cbe166e0d57ae3.tar.gz
poezio-cb2796abc5e3732dc199414bb1cbe166e0d57ae3.tar.bz2
poezio-cb2796abc5e3732dc199414bb1cbe166e0d57ae3.tar.xz
poezio-cb2796abc5e3732dc199414bb1cbe166e0d57ae3.zip
Add a \n when writing the command to the fifo
-rw-r--r--src/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 712eed62..5f734142 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1718,6 +1718,7 @@ class Core(object):
poezio is not running). A very simple daemon reads on that fifo,
and executes any command that is read in it.
"""
+ command = '%s\n' % (command,)
if config.get('exec_remote', 'false') == 'true':
# We just write the command in the fifo
if not self.remote_fifo: