shouldnt this stop each time, to wait for something to be written to the pipe. obviously im a novice when it comes to python programming, what am i missing here.
cheers..
#!/usr/bin/python
import os import sys import select
try:
fifo = open('test.fifo','r')
except Exception, blah:
report = "ERROR 001: " + str(blah)
print report
sys.exit(2)while 1: line = False r,w,x = select.select([fifo],[],[]) if r: line=fifo.read() print line
-- http://mail.python.org/mailman/listinfo/python-list
