Skip to content

Commit f75f51d

Browse files
committed
Force classpath for do_run_python() as it relies on passing just a main class
1 parent c59fd7b commit f75f51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def do_run_python(args, extra_vm_args=None, env=None, jdk=None, extra_dists=None
378378

379379
graalpython_args.insert(0, '--experimental-options=true')
380380

381-
vm_args += mx.get_runtime_jvm_args(dists, jdk=jdk, cp_prefix=cp_prefix, cp_suffix=cp_suffix)
381+
vm_args += mx.get_runtime_jvm_args(dists, jdk=jdk, cp_prefix=cp_prefix, cp_suffix=cp_suffix, force_cp=True)
382382

383383
if not jdk:
384384
jdk = get_jdk()

0 commit comments

Comments
 (0)