Skip to content

Commit 6647ab3

Browse files
committed
correct launcher path on win32
1 parent f7ee017 commit 6647ab3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,8 @@ def _graalvm_home(*, envfile, extra_dy=""):
604604
def _join_bin(home, name):
605605
if sys.platform == "darwin" and not re.search("Contents/Home/?$", home):
606606
return os.path.join(home, "Contents", "Home", "bin", name)
607+
elif sys.platform == "win32":
608+
return os.path.join(home, "bin", f"{name}.cmd")
607609
else:
608610
return os.path.join(home, "bin", name)
609611

0 commit comments

Comments
 (0)