File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ # Run Run-REDUCE asynchronously on Linux, etc.
2
3
3
4
# This batch file and Run-REDUCE.jar must be in the same directory.
4
5
# The Java bin directory must be in PATH and the environment
5
6
# variable PATH_TO_FX must be set to the JavaFX lib directory.
6
7
# Then Run-REDUCE.jar can be run from anywhere by running this batch file.
7
8
# Any command-line arguments are passed on to Run-REDUCE.jar.
8
9
9
- java -Djdk.gtk.version=2 --module-path " ${PATH_TO_FX// \" / } " --add-modules javafx.fxml,javafx.web -jar " $( dirname $0 ) /Run-REDUCE.jar" $*
10
+ java -Djdk.gtk.version=2 --module-path " ${PATH_TO_FX// \" / } " --add-modules javafx.fxml,javafx.web \
11
+ -jar " $( dirname $0 ) /Run-REDUCE.jar" " $@ " &
Original file line number Diff line number Diff line change 1
1
@ echo off
2
+ rem Run Run-REDUCE asynchronously on Microsoft Windows.
2
3
3
4
rem This batch file and Run-REDUCE.jar must be in the same folder.
4
5
rem The Java bin directory must be in PATH and the environment
@@ -8,4 +9,5 @@ rem Any command-line arguments are passed on to Run-REDUCE.jar.
8
9
9
10
rem Note that %~p0 expands to the path component (with a final \) of this filename.
10
11
11
- java --module-path %PATH_TO_FX% --add-modules javafx.fxml,javafx.web -jar " %~p0 Run-REDUCE.jar" %*
12
+ start /b javaw --module-path %PATH_TO_FX% --add-modules javafx.fxml,javafx.web ^
13
+ -jar " %~p0 Run-REDUCE.jar" %*
You can’t perform that action at this time.
0 commit comments