# IMPORTING LIBRARIES
import subprocess
import shlex
def cmdExecutor(cliCmd):
# COLLECT THE COMMAND AND SPLIT USING SHLEX
cmd = shlex.spl...
For further actions, you may consider blocking this person and/or reporting abuse
Hi muTheTechie, I think you can simplify the error checking like this:
you don't need to convert the error to a string
thanks @rhymes