Hello!
I was working with the API of Python, and I found an error (maybe an error, I’m not an expert) that makes the script stop when doing a several-lines query.
It just stops reading stdin, and I modified the code modifying this line:
r = select.select([s, sys.stdin], [], [], None)
to:
r = select.select([s], [], [], 0.0)
Don’t know why is this happening, but it just works for me now. I didn’t know exactly where to post it, if I am wrong, please kindly tell me and I will send this message to MikroTik or to any other forum here.
Thank you.