Anyone have any idea how to startup a program like tethereal which when
run with a '-w - -l' set of flags produces A LOT of output on stdout
and pipe this output to a python class?<br>
<br>
I noticed the object subprocess.Popen might be best suited to this but
it doesnt seem to work right. The flag combination I provided above
will cause tethereal to print each packet it recieves to stdout and
then hopefully flush the stream. I want to &quot;pipe&quot; this output to a
python script which will block read on that process stdout until a
packet is recieved and then perform some processing on that packet.<br>
<br>
I realize that 3rd party modules are available like pcapy but there is
added value in using tethereal that just isnt worth discussing here.<br>
<br>
Hope this makes sense<br>