Skip to content

Commit

Permalink
correct path error in non windows
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 19, 2023
1 parent f1bf6ba commit e973b66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ private void retrieveInterprocessingTensors(List<Tensor<?>> tensors) throws RunM
private static String padSpecialJavaBin(String javaBin) {
String[] specialChars = new String[] {" "};
for (String schar : specialChars) {
if (javaBin.contains(schar)) {
if (javaBin.contains(schar) && PlatformDetection.isWindows()) {
return "\"" + javaBin + "\"";
}
}
Expand Down

0 comments on commit e973b66

Please sign in to comment.