This commit is contained in:
Miroslav Stampar
2025-07-10 13:57:10 +02:00
parent de10cff3e0
commit c3c1f35b35
3 changed files with 5 additions and 3 deletions

View File

@@ -143,6 +143,8 @@ class Abstraction(Web, UDF, XP_cmdshell):
try:
command = _input("os-shell> ")
command = getUnicode(command, encoding=sys.stdin.encoding)
except UnicodeDecodeError:
pass
except KeyboardInterrupt:
print()
errMsg = "user aborted"