CommonRunner

dotty.tools.runner.CommonRunner
trait CommonRunner

This is a copy implementation from scala/scala scala.tools.nsc.CommonRunner trait

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ObjectRunner

Members list

Value members

Concrete methods

def run(urls: Seq[URL], objectName: String, arguments: Seq[String]): Unit

Run a given object, specified by name, using a specified classpath and argument list.

Run a given object, specified by name, using a specified classpath and argument list.

Attributes

def runAndCatch(urls: Seq[URL], objectName: String, arguments: Seq[String]): Option[Throwable]

Catches any non-fatal exception thrown by run (in the case of InvocationTargetException, unwrapping it) and returns it in an Option.

Catches any non-fatal exception thrown by run (in the case of InvocationTargetException, unwrapping it) and returns it in an Option.

Attributes