errbot: named fifo to send messages

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 ?
Christian Weiske Christian Weiske
owner

History