src/Pure/ML/ml_statistics.scala
changeset 73604 51b291ae3e2d
parent 73522 b219774a71ae
child 73716 00ef0f401a29
equal deleted inserted replaced
73603:342362c9496c 73604:51b291ae3e2d
    68     }
    68     }
    69 
    69 
    70     val env_prefix =
    70     val env_prefix =
    71       if (stats_dir.isEmpty) "" else "export POLYSTATSDIR=" + Bash.string(stats_dir) + "\n"
    71       if (stats_dir.isEmpty) "" else "export POLYSTATSDIR=" + Bash.string(stats_dir) + "\n"
    72 
    72 
    73     Bash.process(env_prefix + "exec \"$POLYML_EXE\" -q --use src/Pure/ML/ml_statistics.ML --eval " +
    73     Bash.process(env_prefix + "\"$POLYML_EXE\" -q --use src/Pure/ML/ml_statistics.ML --eval " +
    74         Bash.string("ML_Statistics.monitor " + ML_Syntax.print_long(pid) + " " +
    74         Bash.string("ML_Statistics.monitor " + ML_Syntax.print_long(pid) + " " +
    75           ML_Syntax.print_double(delay.seconds)),
    75           ML_Syntax.print_double(delay.seconds)),
    76         cwd = Path.ISABELLE_HOME.file)
    76         cwd = Path.ISABELLE_HOME.file)
    77       .result(progress_stdout = progress_stdout, strict = false).check
    77       .result(progress_stdout = progress_stdout, strict = false).check
    78   }
    78   }