All Downloads are FREE. Search and download functionalities are using the official Maven repository.

abellectl_2.11.1.1.0-RC3.source-code.JEdit.scala Maven / Gradle / Ivy

package info.hupel.isabelle.cli

import scala.concurrent._

object JEdit extends Command {

  override def run(bundle: Bundle, args: List[String])(implicit ec: ExecutionContext): Future[Unit] = Future.successful {
    val logic = bundle.configuration.session
    val dirs = bundle.configuration.paths.flatMap(p => List("-d", p.toString))

    val cli = List("-l", logic) ::: dirs ::: args
    val rc = bundle.env.exec("jedit", cli)
    logger.info(s"Exited with status $rc")
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy