Added windows exception.
This commit is contained in:
parent
061da150f9
commit
6312dfae47
@ -1,6 +1,11 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import os
|
import os
|
||||||
import pty
|
|
||||||
|
try:
|
||||||
|
import pty
|
||||||
|
except Exception as ex:
|
||||||
|
print("You are not able to run a terminal. See error:")
|
||||||
|
print(ex)
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
commands = {
|
commands = {
|
||||||
|
Loading…
Reference in New Issue
Block a user