Packages

p

mpstk

util

package util

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ProcessHandler extends NuProcessHandler
  2. case class StdOutErrAndTime(stdout: String, stderr: String, nanosecs: Long) extends Product with Serializable

    Used to store the standard output of a process launched via external command, and its execution time

    Used to store the standard output of a process launched via external command, and its execution time

    Attributes
    protected[mpstk]

Value Members

  1. def eitherList[A, L](xs: List[Either[L, A]]): Either[L, List[A]]

    Convert a list of eithers into either a list, or a left projection

  2. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  3. def optList[A](xs: List[Option[A]]): Option[List[A]]

    Convert a list of options into an optional list

  4. def resource(name: String): String
  5. def runCommand(cmd: String, args: Seq[String]): StdOutErrAndTime

    Run a system command, and return its process handle, and execution time in nsecs.

    Run a system command, and return its process handle, and execution time in nsecs.

    Exceptions thrown

    java.lang.RuntimeException if command's return status is not 0

  6. def runCommandSlow(cmd: String, args: Seq[String]): StdOutErrAndTime

    Slow (but portable) version of runCommand(...)

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped