From 4a90a5c9465de784d3790875f711a1ded4cae0d3 Mon Sep 17 00:00:00 2001 From: mananni Date: Fri, 17 Apr 2026 12:20:42 -0400 Subject: [PATCH] In from_net_bin() convert the path to absolute (resolving any symlinks and relative components), so all downstream symlinks created from renode_dir will use absolute paths regardless of how PYRENODE_BIN was set. --- src/pyrenode3/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyrenode3/loader.py b/src/pyrenode3/loader.py index 16ee594..10984cb 100644 --- a/src/pyrenode3/loader.py +++ b/src/pyrenode3/loader.py @@ -242,7 +242,7 @@ def from_net_build(cls, path: "Union[str, pathlib.Path]"): @classmethod def from_net_bin(cls, path: "Union[str, pathlib.Path]"): """Load Renode from binary.""" - renode_bin = pathlib.Path(path) + renode_bin = pathlib.Path(path).resolve() renode_dir = renode_bin.parent # As a side effect, executing the binary causes the embedded dlls to be extracted to: