Instance Constructors
-
new
ScriptRunner()
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
compileOnServer(sock: Socket, args: Seq[String]): Boolean
-
lazy val
compileSocket: CompileSocket.type
-
val
defaultScriptMain: String
-
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ScriptRunner
-
def
ensuring(cond: Boolean): ScriptRunner
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
val
errorMarkers: Set[String]
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
isErrorMessage(msg: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
runCommand(settings: GenericRunnerSettings, command: String, scriptArgs: List[String]): Boolean
-
def
runScript(settings: GenericRunnerSettings, scriptFile: String, scriptArgs: List[String]): Boolean
-
def
runScriptAndCatch(settings: GenericRunnerSettings, scriptFile: String, scriptArgs: List[String]): Either[Throwable, Boolean]
-
def
scriptMain(settings: Settings): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
An object that runs Scala code in script files.
For example, here is a complete Scala script on Unix:
And here is a batch file example on Windows XP:
1.0, 15/05/2006
It would be better if error output went to stderr instead of stdout...