io.github.vigoo.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.

Attributes

Members list

Packages

Small helper package to work with Java NIO paths

Small helper package to work with Java NIO paths

Attributes

Type members

Classlikes

trait CommonModule

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type
final case class FailedToDestroy(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class FailedToDestroyException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class FailedToQueryState(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class FailedToQueryStateException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class FailedToReadProcessOutput(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class FailedToReadProcessOutputException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class FailedToStartProcess(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class FailedToStartProcessException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class FailedToWaitForExit(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class FailedToWaitForExitException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class FailedToWriteProcessInput(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class FailedToWriteProcessInputException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MultipleProxErrors(errors: List[ProxError]) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class MultipleProxErrorsException(value: List[ProxError]) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type
trait ProcessLike

Common base trait for processes and process groups, used in constraints in the redirection traits

Common base trait for processes and process groups, used in constraints in the redirection traits

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ProcessGroup[O, E]
class ProcessGroupImplIOE[O, E]
class ProcessGroupImplOE[O, E]
trait Process[O, E]
class ProcessImpl
class ProcessImplE[E]
class ProcessImplI
class ProcessImplIE[E]
class ProcessImplIO[O]
class ProcessImplIOE[O, E]
class ProcessImplO[O]
class ProcessImplOE[O, E]
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type

Attributes

Supertypes
trait SyntaxModule
trait CommonModule
trait ProxRuntime
class Object
trait Matchable
class Any
Show all
sealed trait ProxError

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ProxRuntime

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type
trait SyntaxModule

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type
final case class UnknownProxError(reason: Throwable) extends ProxError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProxError
class Object
trait Matchable
class Any
Show all
final case class UnknownProxErrorException(reason: Throwable) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all