for host in hosts:
    cmd = ['rsh', host, 'myscript']
    p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    stdout, stderr = p.communicate()
currently the above hangs on stdout, stderr = p.communicate() because myscript
runs forever.
What can i do to make p.communicate() nonblock? i.e. just run the command and move on
 
    