File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
plugins/hydra_ray_launcher Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2424
2525def _run_command (command : str ) -> str :
2626 print (f"{ str (datetime .now ())} - Running: { command } " )
27- output = subprocess .getoutput (command )
27+ output = subprocess .getoutput (command ) # nosec B605
2828 print (f"{ str (datetime .now ())} - { output } " )
2929 return output
3030
Original file line number Diff line number Diff line change 1616
1717def _run_command (command : str ) -> str :
1818 print (f"{ str ( datetime .now () )} - OUT: { command } " )
19- output = subprocess .getoutput (command )
19+ output = subprocess .getoutput (command ) # nosec B605
2020 print (f"{ str ( datetime .now () )} - OUT: { output } " )
2121 return output
2222
Original file line number Diff line number Diff line change 129129
130130def run_command (commands : str ) -> str :
131131 log .info (f"running: { commands } " )
132- output = subprocess .getoutput (commands )
132+ output = subprocess .getoutput (commands ) # nosec B605
133133 log .info (f"outputs: { output } " )
134134 return output
135135
You can’t perform that action at this time.
0 commit comments