Add a \n when writing the command to the fifo

This commit is contained in:
Florent Le Coz 2011-10-29 07:03:49 +02:00
parent afcc387002
commit cb2796abc5

View file

@ -1718,6 +1718,7 @@ class Core(object):
poezio is not running). A very simple daemon reads on that fifo, poezio is not running). A very simple daemon reads on that fifo,
and executes any command that is read in it. and executes any command that is read in it.
""" """
command = '%s\n' % (command,)
if config.get('exec_remote', 'false') == 'true': if config.get('exec_remote', 'false') == 'true':
# We just write the command in the fifo # We just write the command in the fifo
if not self.remote_fifo: if not self.remote_fifo: