errbot: named fifo to send messages

revision d02ce62d783e14d999b10b8d0a7ba3c9e1b38135

raw

code.py

1
2
3
4
5
6
7
if not os.path.exists(pipe_name):
    os.mkfifo(pipe_name) 
    pipein = open(pipe_name, 'r')
    while True:
        line = pipein.readline()[:-1]
        self.send(...)
 
raw

phork0.txt

<gbin> something as simple as that in a thread ?

History