Skip to content

Commit

Permalink
Small error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonPacewic committed Jun 24, 2024
1 parent d2488a4 commit 0c61a7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exporter/SynthesisFusionAddin/proto/deps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import platform, subprocess
import platform
import logging
from pathlib import Path

from src.general_imports import INTERNAL_ID
Expand Down Expand Up @@ -49,7 +50,7 @@ def executeCommand(command: tuple) -> int:
int: Exit code of the process
"""

logging.getLogger(f"{INTERNAL_ID}").debug(f"Command -> {comm}")
logging.getLogger(f"{INTERNAL_ID}").debug(f"Command -> {command}")

installComm = str.join(" ", command)
executionResult = os.system(installComm)

Check failure on line 56 in exporter/SynthesisFusionAddin/proto/deps.py

View check run for this annotation

Autodesk Chorus / security/bandit

B605: start_process_with_a_shell

Starting a process with a shell, possible injection detected, security issue. secure coding id: PYTH-INJC-30.
Expand Down

0 comments on commit 0c61a7b

Please sign in to comment.