def _set_process_async(process):
    """Make the process read/write methods unblocking"""
    for fd in [process.stderr.fileno(), process.stdout.fileno()]:
        fl = fcntl.fcntl(fd, fcntl.F_GETFL)
        fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
def _set_process_async ( process ) : for fd in [ process . stderr . fileno ( ) , process . stdout . fileno ( ) ] : fl = fcntl . fcntl ( fd , fcntl . F_GETFL ) fcntl . fcntl ( fd , fcntl . F_SETFL , fl | os . O_NONBLOCK )
Make the process read/write methods unblocking