diff --git a/measure b/measure old mode 100644 new mode 100755 index b71838c..b542f24 --- a/measure +++ b/measure @@ -202,7 +202,8 @@ class Exec(Measure): # Start subprocess, executing os.setsid to create a new process group p = subprocess.Popen( args, - shell=shell, + # nosec included below to disable bandit warning as shell execution is part of driver functionality + shell=shell, # nosec B602 stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, @@ -416,7 +417,7 @@ class Exec(Measure): """ try: self.run_taskset(self.cfg["post"], ignore_errors=True) - except: + except: # nosec # We ignore any errors from 'post' phase during cleanup pass self.stop_running_async_processes()