inputready, outputready, exceptready = select.select([proc.stdout, proc.
    stderr], [proc.stdout, proc.stderr], [proc.stdout, proc.stderr], 0)
Asyncronous Bidirectional IO Redirection for a child process