Show More
@@ -161,7 +161,7 b' def cachefunc(func):' | |||||
161 |
|
161 | |||
162 | def pipefilter(s, cmd): |
|
162 | def pipefilter(s, cmd): | |
163 | '''filter string S through command CMD, returning its output''' |
|
163 | '''filter string S through command CMD, returning its output''' | |
164 |
(p |
|
164 | (pin, pout) = os.popen2(cmd, 'b') | |
165 | def writer(): |
|
165 | def writer(): | |
166 | try: |
|
166 | try: | |
167 | pin.write(s) |
|
167 | pin.write(s) |
General Comments 0
You need to be logged in to leave comments.
Login now