From 4797e02a6bab6a56cb2b8ef109e0d271b828d18b Mon Sep 17 00:00:00 2001 From: Mike Hunhoff Date: Fri, 4 Aug 2023 14:30:03 -0600 Subject: [PATCH] fix exception that occurs when extending sys.path on Windows (#64) --- src/main/java/ghidrathon/interpreter/GhidrathonInterpreter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ghidrathon/interpreter/GhidrathonInterpreter.java b/src/main/java/ghidrathon/interpreter/GhidrathonInterpreter.java index d1ea777..dafa921 100644 --- a/src/main/java/ghidrathon/interpreter/GhidrathonInterpreter.java +++ b/src/main/java/ghidrathon/interpreter/GhidrathonInterpreter.java @@ -128,7 +128,7 @@ private void setSysPath() { jep_.eval("import sys"); jep_.eval( - "sys.path.extend([path for path in '" + "sys.path.extend([path for path in r'" + paths + "'.split('" + File.pathSeparator