src/Pure/ML/ml_process.scala
changeset 72112 3546dd4ade74
parent 71881 71de0a253842
child 72118 84f716e72fa3
equal deleted inserted replaced
72111:b9ded33bd58c 72112:3546dd4ade74
   122         if (ml_options.exists(_.containsSlice("gcthreads"))) ml_options
   122         if (ml_options.exists(_.containsSlice("gcthreads"))) ml_options
   123         else ml_options ::: List("--gcthreads", options.int("threads").toString)
   123         else ml_options ::: List("--gcthreads", options.int("threads").toString)
   124       val ml_options2 =
   124       val ml_options2 =
   125         if (!Platform.is_windows || ml_options.exists(_.containsSlice("codepage"))) ml_options1
   125         if (!Platform.is_windows || ml_options.exists(_.containsSlice("codepage"))) ml_options1
   126         else ml_options1 ::: List("--codepage", "utf8")
   126         else ml_options1 ::: List("--codepage", "utf8")
   127       ml_options2
   127       ml_options2 ::: List("--exportstats")
   128     }
   128     }
   129 
   129 
   130     // bash
   130     // bash
   131     val bash_args =
   131     val bash_args =
   132       ml_runtime_options :::
   132       ml_runtime_options :::