termios.tcdrain(fd)
Wait until all output written to file descriptor fd has been transmitted.
Please login to continue.
Please login to continue.