Packages

final case class Standard(command: NonEmptyChunk[String], env: Map[String, String], workingDirectory: Option[File], stdin: ProcessInput, stdout: ProcessOutput, stderr: ProcessOutput, redirectErrorStream: Boolean) extends Command with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Command, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Standard
  2. Serializable
  3. Product
  4. Equals
  5. Command
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Standard(command: NonEmptyChunk[String], env: Map[String, String], workingDirectory: Option[File], stdin: ProcessInput, stdout: ProcessOutput, stderr: ProcessOutput, redirectErrorStream: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <<(input: String): Command

    Feed a string to standard input (default encoding of UTF-8).

    Feed a string to standard input (default encoding of UTF-8).

    Definition Classes
    Command
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def >(redirectTo: File): Command

    Redirect standard output to a file, overwriting any existing content.

    Redirect standard output to a file, overwriting any existing content.

    Definition Classes
    Command
  6. def >>(redirectTo: File): Command

    Redirect standard output to a file, appending content to the file if it already exists.

    Redirect standard output to a file, appending content to the file if it already exists.

    Definition Classes
    Command
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. val command: NonEmptyChunk[String]
  10. def env(env: Map[String, String]): Command

    Specify the environment variables that will be used when running this command.

    Specify the environment variables that will be used when running this command.

    Definition Classes
    Command
  11. val env: Map[String, String]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def exitCode: ZIO[Any, CommandError, ExitCode]

    Runs the command returning only the exit code.

    Runs the command returning only the exit code.

    Definition Classes
    Command
  14. def flatten: NonEmptyChunk[Standard]

    Flatten this command to a non-empty chunk of standard commands.

    Flatten this command to a non-empty chunk of standard commands. For the standard case, this simply returns a 1 element chunk. For the piped case, all the commands in the pipe will be extracted out into a chunk from left to right.

    Definition Classes
    Command
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def inheritIO: Command

    Inherit standard input, standard output, and standard error.

    Inherit standard input, standard output, and standard error.

    Definition Classes
    Command
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def lines(charset: Charset): ZIO[Any, CommandError, Chunk[String]]

    Runs the command returning the output as a list of lines with the specified encoding.

    Runs the command returning the output as a list of lines with the specified encoding.

    Definition Classes
    Command
  19. def lines: ZIO[Any, CommandError, Chunk[String]]

    Runs the command returning the output as a list of lines (default encoding of UTF-8).

    Runs the command returning the output as a list of lines (default encoding of UTF-8).

    Definition Classes
    Command
  20. def linesStream: ZStream[Any, CommandError, String]

    Runs the command returning the output as a stream of lines (default encoding of UTF-8).

    Runs the command returning the output as a stream of lines (default encoding of UTF-8).

    Definition Classes
    Command
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def pipe(into: Command): Command

    A named alias for |

    A named alias for |

    Definition Classes
    Command
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def redirectErrorStream(redirectErrorStream: Boolean): Command

    Redirect the error stream to be merged with the standard output stream.

    Redirect the error stream to be merged with the standard output stream.

    Definition Classes
    Command
  27. val redirectErrorStream: Boolean
  28. def run: ZIO[Any, CommandError, Process]

    Start running the command returning a handle to the running process.

    Start running the command returning a handle to the running process.

    Definition Classes
    Command
  29. def stderr(stderr: ProcessOutput): Command

    Specify what to do with the standard error of this command.

    Specify what to do with the standard error of this command.

    Definition Classes
    Command
  30. val stderr: ProcessOutput
  31. def stdin(stdin: ProcessInput): Command

    Specify what to do with the standard input of this command.

    Specify what to do with the standard input of this command.

    Definition Classes
    Command
  32. val stdin: ProcessInput
  33. def stdout(stdout: ProcessOutput): Command

    Specify what to do with the standard output of this command.

    Specify what to do with the standard output of this command.

    Definition Classes
    Command
  34. val stdout: ProcessOutput
  35. def stream: ZStream[Any, CommandError, Byte]

    Runs the command returning the output as a chunked stream of bytes.

    Runs the command returning the output as a chunked stream of bytes.

    Definition Classes
    Command
  36. def string(charset: Charset): ZIO[Any, CommandError, String]

    Runs the command returning the entire output as a string with the specified encoding.

    Runs the command returning the entire output as a string with the specified encoding.

    Definition Classes
    Command
  37. def string: ZIO[Any, CommandError, String]

    Runs the command returning the entire output as a string (default encoding of UTF-8).

    Runs the command returning the entire output as a string (default encoding of UTF-8).

    Definition Classes
    Command
  38. def successfulExitCode: ZIO[Any, CommandError, ExitCode]

    Runs the command returning only the exit code if zero.

    Runs the command returning only the exit code if zero.

    Definition Classes
    Command
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. def workingDirectory(workingDirectory: File): Command

    Set the working directory that will be used when this command will be run.

    Set the working directory that will be used when this command will be run. For the piped case, each piped command's working directory will also be set.

    Definition Classes
    Command
  44. val workingDirectory: Option[File]
  45. def |(into: Command): Command

    Pipe the output of this command into the input of the specified command.

    Pipe the output of this command into the input of the specified command.

    Definition Classes
    Command

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Command

Inherited from AnyRef

Inherited from Any

Ungrouped