Skip to content

Commit 9ad2fa2

Browse files
committed
fixed launcher command for windows
1 parent 898982c commit 9ad2fa2

File tree

1 file changed

+1
-1
lines changed
  • graalpython/org.graalvm.python.embedding.tools/src/org/graalvm/python/embedding/tools/vfs

1 file changed

+1
-1
lines changed

graalpython/org.graalvm.python.embedding.tools/src/org/graalvm/python/embedding/tools/vfs/VFSUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private static void generateLaunchers(Path laucherPath, LauncherClassPath launch
299299
tl = os.path.join(r'%s')
300300
os.makedirs(Path(tl).parent.absolute(), exist_ok=True)
301301
shutil.copy(vl, tl)
302-
cmd = r'%s --enable-native-access=ALL-UNNAMED -classpath "%s" %s --jvm --enable-native-access=ALL-UNNAMED'
302+
cmd = r'%s --enable-native-access=ALL-UNNAMED -classpath "%s" %s'
303303
pyvenvcfg = os.path.join(os.path.dirname(tl), "pyvenv.cfg")
304304
with open(pyvenvcfg, 'w', encoding='utf-8') as f:
305305
f.write('venvlauncher_command = ')

0 commit comments

Comments
 (0)