--- a/src/Pure/System/other_isabelle.scala Mon Jun 16 11:38:14 2025 +0200
+++ b/src/Pure/System/other_isabelle.scala Mon Jun 16 11:40:35 2025 +0200
@@ -106,7 +106,7 @@
override def ml_system: String = getenv_strict("ML_SYSTEM")
override def ml_platform: String =
- if ((isabelle_home + Path.explode("lib/Tools/console")).is_file) {
+ if (ssh.is_file(isabelle_home + Path.explode("lib/Tools/console"))) {
val Pattern = """.*val ML_PLATFORM = "(.*)".*""".r
val input = """val ML_PLATFORM = Option.getOpt (OS.Process.getEnv "ML_PLATFORM", "")"""
val result = bash("bin/isabelle console -r", input = input)