Michaela Wheeler
Michaela Wheeler
I tested a work around which is replacing the fd that pyserial creates. ``` import serial import pty master, slave = pty.openpty() ser = serial.Serial('/dev/ptmx') ser.fd = master ser.write("test") ```
@gagabla that's because the `/dev/ptmx` device is a special control device. When you open up `/dev/ptmx` that file descriptor is paired with a specific `pts`. Opening `/dev/ptmx` again will trigger...
This is true, the impact has been minimal in my use cases that I haven't cared. Might be able to switch it out for /dev/null? or call close on the...