diff --git a/processor/framework.py b/processor/framework.py index 7d82c15..842e437 100644 --- a/processor/framework.py +++ b/processor/framework.py @@ -261,12 +261,11 @@ def run_command_readable(self, command=[], sourcescript=[], run_location=None): if fd == p.stdout.fileno(): read = p.stdout.readline() if read != "\n": - console.log(read.strip()) + console.log(read.strip(), markup=False) if fd == p.stderr.fileno(): read = p.stderr.readline() if read != "\n": - console.log(read.strip()) - + console.log(read.strip(), markup=False) if p.poll() != None: break if p.returncode != 0: @@ -377,7 +376,7 @@ def get_submission_os(self): .decode() .strip() ) - except (subprocess.CalledProcessError, FileNotFoundError): + except (subprocess.CalledProcessError, FileNotFoundError, PermissionError): distro = ( subprocess.check_output( "cat /etc/os-release | grep '^NAME=' | cut -f2 -d='' | tr -d '\"'",