Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

telnet_cmd needs timeouts and result checking #15

Open
wwevo opened this issue Dec 27, 2017 · 2 comments
Open

telnet_cmd needs timeouts and result checking #15

wwevo opened this issue Dec 27, 2017 · 2 comments

Comments

@wwevo
Copy link
Owner

wwevo commented Dec 27, 2017

waiting for results in telnet chat can take quite some time, possibly even essentially stopping the script
I have removed all checks for now cause it halted the execution. these commands possibly have to be executed on their own thread or something, eventuall I DO want to have confirmation and i do not want o keep a log off all commands issued and check them later...

@habhabhab
Copy link

Why not just add a write in file command whenever timeout_occured = True (in file telnet_observer.py)? The bot would return all the timeouts in a nice little file for you. Right now it prints it in the chat, doesn't it? That way, not all the commands would be returned to you, but only the timeouts. Or am I not getting your intention?

@wwevo
Copy link
Owner Author

wwevo commented Dec 28, 2017

result checking as in checking that the telnet result has come though and the transaction is actually finished :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants