subprocess grab stdout of airodump-ng
===

I am trying to grab the stdout from airodump-ng using subprocess with no luck.
I think my code causes a deadlock.

       airodump = subprocess.Popen(['airodump-ng','mon0'],stdin=subprocess.PIPE,
                                  stdout=subprocess.PIPE,
                                  stderr=subprocess.PIPE)
        
        # wait for 15 seconds to find all networks
        time.sleep(15)
        
        # save the output
        o_airodump = airodump.stdout.read()
        os.kill(airodump.pid, signal.SIGKILL)
        # airodump.terminate
        print(o_airodump)

How to avoid this problem. Cant think one clean solution.