Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions backends/nxp/tests_models/executors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import subprocess
from copy import deepcopy
from enum import Enum
from os import mkdir
from os import environ, mkdir
from typing import Callable

import numpy as np
Expand Down Expand Up @@ -593,7 +593,8 @@ def _get_caller_name():


def execute_cmd(cmd, cwd="."):
env = {"LD_LIBRARY_PATH": NSYS_PATH.parent}
env = environ.copy() # Copy the current environment
env["LD_LIBRARY_PATH"] = str(NSYS_PATH.parent)

with subprocess.Popen(
cmd,
Expand Down
Loading