Beispiel #1
0
def _enqueue_output(out, queue):
    for line in iter(out.readline, b''):
        queue.put(line)
Beispiel #2
0
def _enqueue_output(out, queue):
    for line in iter(out.readline, b''):
        queue.put(line)
    out.close()