Now the test in pruebas.py works with bash and with a simple CoD 4 server in interactive mode.