package util
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- util
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class ProcessHandler extends NuProcessHandler
-
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
-
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
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
def
optList[A](xs: List[Option[A]]): Option[List[A]]
Convert a list of options into an optional list
- def resource(name: String): String
-
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
-
def
runCommandSlow(cmd: String, args: Seq[String]): StdOutErrAndTime
Slow (but portable) version of runCommand(...)