Skip to content

Commit

Permalink
Quote exe if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
petebankhead committed Dec 1, 2023
1 parent 4e63045 commit 271aa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/qupath/ext/djl/ui/LaunchScriptCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static String createLaunchScript(Map<String, String> params) {
// Command to launch QuPath itself
if (!sb.toString().endsWith(System.lineSeparator() + System.lineSeparator()))
sb.append(System.lineSeparator());
sb.append(qupathExecutable);
sb.append(quoteIfNeeded(qupathExecutable));

// On Linux, we need to set the JNA path to find CUDA
if (pathVariable != null && !pathVariable.isEmpty() && !GeneralTools.isWindows()) {
Expand Down

0 comments on commit 271aa8b

Please sign in to comment.