def run_command()

in scripts/elf_rockylinux_dependency_analyzer.py [0:0]


def run_command(command):
    try:
        return subprocess.check_output(command, stderr=subprocess.STDOUT).decode('utf-8')
    except subprocess.CalledProcessError as e:
        print(f"Error running command {' '.join(command)}: {e.output.decode('utf-8').strip()}")
        return None