ProcessBuilder

fs2.io.process.ProcessBuilder
See theProcessBuilder companion object
sealed abstract class ProcessBuilder

Attributes

Companion
object
Source
ProcessBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def args: List[String]

Arguments passed to command.

Arguments passed to command.

Attributes

Source
ProcessBuilder.scala
def command: String

Command to run.

Command to run.

Attributes

Source
ProcessBuilder.scala
def extraEnv: Map[String, String]

Additional environment variables for this process.

Additional environment variables for this process. These may override inherited environment variables.

Attributes

Source
ProcessBuilder.scala
def inheritEnv: Boolean

Whether to inherit environment variables of the current process.

Whether to inherit environment variables of the current process. Defaults to true.

Attributes

Source
ProcessBuilder.scala
def withArgs(args: List[String]): ProcessBuilder

Attributes

See also
Source
ProcessBuilder.scala
def withCommand(command: String): ProcessBuilder

Attributes

See also
Source
ProcessBuilder.scala
def withExtraEnv(env: Map[String, String]): ProcessBuilder

Attributes

See also
Source
ProcessBuilder.scala
def withInheritEnv(inherit: Boolean): ProcessBuilder

Attributes

See also
Source
ProcessBuilder.scala
def withWorkingDirectory(workingDirectory: Path): ProcessBuilder

Attributes

See also
Source
ProcessBuilder.scala
def workingDirectory: Option[Path]

Working directory for this process.

Working directory for this process. If None then it will use the working directory of the current process. Defaults to None

Attributes

Source
ProcessBuilder.scala

Concrete methods

final def spawn[F[_] : Processes]: Resource[F, Process[F]]

Starts the process and returns a handle for interacting with it.

Starts the process and returns a handle for interacting with it. Closing the resource will kill the process if it has not already terminated.

Attributes

Source
ProcessBuilder.scala