diff --git a/scripts/cli.py b/scripts/cli.py index fa0953d..0a2cb48 100755 --- a/scripts/cli.py +++ b/scripts/cli.py @@ -16,6 +16,7 @@ import logging import coloredlogs import serial.tools.list_ports +import shlex class Singleton(type): @@ -189,7 +190,7 @@ def check_env(self): logging.info('Using KNoT base path: ' + self.knot_path) # Get current working directory - self.cwd = os.getcwd() + self.cwd = shlex.quote(os.getcwd()) def __def_paths(self): """