File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
lib-graalpython/modules/standalone/app Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,9 @@ for /f "delims=" %%i in ('%JAVA% VTabCreator.java') do set VTAB=%%i
14
14
del VTabCreator.java
15
15
16
16
REM Store each argument separated by vtab
17
- for %%I in (%* ) do call :sub %%I
18
-
19
- mvn -f " %~dp0 " pom.xml exec:exec -Dexec.executable=java -Dexec.args=" --module-path %% classpath -Dorg.graalvm.launcher.executablename=%0 --module org.graalvm.py.launcher/com.oracle.graal.python.shell.GraalPythonMain"
20
-
21
- goto :eof
22
-
23
- :sub
17
+ :loop
24
18
set GRAAL_PYTHON_ARGS = %GRAAL_PYTHON_ARGS%%VTAB% %~1
25
- goto :eof
19
+ shift /1
20
+ if not " %~1 " == " " goto loop
21
+
22
+ mvn -f " %~dp0 pom.xml" exec:exec -Dexec.executable=java -Dexec.args=" --module-path %% classpath -Dorg.graalvm.launcher.executablename=%~0 --module org.graalvm.py.launcher/com.oracle.graal.python.shell.GraalPythonMain"
Original file line number Diff line number Diff line change @@ -366,6 +366,7 @@ def setup_python(self, context):
366
366
base_exe = os .path .basename (context .env_exe )
367
367
suffixes .add (base_exe )
368
368
369
+ copier (context .executable , os .path .join (binpath , "graalpy.cmd" ))
369
370
for suffix in suffixes :
370
371
# Truffle change: we look in 'bin'
371
372
src = os .path .join (dirname , 'bin' , suffix )
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ " <target>" " --python.Executable=%~0 " %*
4
+ exit /b %errorlevel%
You can’t perform that action at this time.
0 commit comments