package prox
Provides classes to work with system processes in a type safe way.
Refer to the user guide for more information.
A process to be executed is represented by the Process trait. Once it has finished running the results are in ProcessResult. We call a group of processes attached together a process group, represented by ProcessGroup, its result is described by ProcessGroupResult.
Redirection of input, output and error is enabled by the RedirectableInput, RedirectableOutput and RedirectableError trait for single processes, and the RedirectableErrors trait for process groups.
Processes and process groups are executed by a ProcessRunner, the default implementation is called JVMProcessRunner.
- Alphabetic
- By Inheritance
- prox
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait CommonModule extends AnyRef
- final case class FailedToDestroy(reason: Throwable) extends ProxError with Product with Serializable
- final case class FailedToDestroyException(reason: Throwable) extends Exception with Product with Serializable
- final case class FailedToQueryState(reason: Throwable) extends ProxError with Product with Serializable
- final case class FailedToQueryStateException(reason: Throwable) extends Exception with Product with Serializable
- final case class FailedToReadProcessOutput(reason: Throwable) extends ProxError with Product with Serializable
- final case class FailedToReadProcessOutputException(reason: Throwable) extends Exception with Product with Serializable
- final case class FailedToStartProcess(reason: Throwable) extends ProxError with Product with Serializable
- final case class FailedToStartProcessException(reason: Throwable) extends Exception with Product with Serializable
- final case class FailedToWaitForExit(reason: Throwable) extends ProxError with Product with Serializable
- final case class FailedToWaitForExitException(reason: Throwable) extends Exception with Product with Serializable
- final case class FailedToWriteProcessInput(reason: Throwable) extends ProxError with Product with Serializable
- final case class FailedToWriteProcessInputException(reason: Throwable) extends Exception with Product with Serializable
- final case class MultipleProxErrors(errors: List[ProxError]) extends ProxError with Product with Serializable
- final case class MultipleProxErrorsException(value: List[ProxError]) extends Exception with Product with Serializable
- trait ProcessGroupModule extends AnyRef
- trait ProcessLike extends AnyRef
Common base trait for processes and process groups, used in constraints in the redirection traits
- trait ProcessModule extends AnyRef
- trait ProcessRunnerModule extends AnyRef
- trait Prox extends ProxRuntime with CommonModule with ProcessModule with ProcessGroupModule with RedirectionModule with ProcessRunnerModule with SyntaxModule
- sealed trait ProxError extends AnyRef
- trait ProxFS2[F[_]] extends Prox
- trait ProxRuntime extends AnyRef
- trait ProxZStream extends Prox
- trait RedirectionModule extends AnyRef
- trait SyntaxModule extends AnyRef
- final case class UnknownProxError(reason: Throwable) extends ProxError with Product with Serializable
- final case class UnknownProxErrorException(reason: Throwable) extends Exception with Product with Serializable
Value Members
- object ProxFS2
- object zstream extends ProxZStream