def correspond(text):
    """Communicate with the child process without closing stdin."""
    if text:
        subproc.stdin.write(text)
    subproc.stdin.flush()
    return get_lines()
def correspond(text):
    """Communicate with the child process without closing stdin."""
    if text:
        subproc.stdin.write(text)
    subproc.stdin.flush()
    return get_lines()
def correspond ( text ) : if text : subproc . stdin . write ( text ) subproc . stdin . flush ( ) return get_lines ( )
Communicate with the child process without closing stdin.
Communicate with the child process without closing stdin .