Re: buffers readlines and general popen2 confusion...

2006-05-20 Thread [EMAIL PROTECTED]
That's just it. I was hoping to have python listening for events and responding continually according to the demaons stdout. That's why I mention popen2. -- http://mail.python.org/mailman/listinfo/python-list

Re: buffers readlines and general popen2 confusion...

2006-05-20 Thread Jim Segrave
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >I'm interested in taking the output of a daemonized shell script that >greps for patterns which would act as an argument to a script. Is it >better to write this stuff to file and visit the file every few seconds >or can

Re: buffers readlines and general popen2 confusion...

2006-05-20 Thread Larry Bates
[EMAIL PROTECTED] wrote: > I'm interested in taking the output of a daemonized shell script that > greps for patterns which would act as an argument to a script. Is it > better to write this stuff to file and visit the file every few seconds > or can this be done a better way. I'm hoping for a more

buffers readlines and general popen2 confusion...

2006-05-20 Thread [EMAIL PROTECTED]
I'm interested in taking the output of a daemonized shell script that greps for patterns which would act as an argument to a script. Is it better to write this stuff to file and visit the file every few seconds or can this be done a better way. I'm hoping for a more elegant solution. So far I've se