Class

zio.process.Command

Piped

Related Doc: package Command

Permalink

final case class Piped(left: Command, right: Command) extends Command with Product with Serializable

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

Instance Constructors

  1. new Piped(left: Command, right: Command)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <<(input: String): Command

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  5. def >(redirectTo: File): Command

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def env(env: Map[String, String]): Command

    Permalink

    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
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def exitCode: ZIO[Any, CommandError, ExitCode]

    Permalink

    Runs the command returning only the exit code.

    Runs the command returning only the exit code.

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

    Permalink

    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
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def inheritIO: Command

    Permalink

    Inherit standard input, standard output, and standard error.

    Inherit standard input, standard output, and standard error.

    Definition Classes
    Command
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val left: Command

    Permalink
  17. def lines(charset: Charset): ZIO[Any, CommandError, Chunk[String]]

    Permalink

    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
  18. def lines: ZIO[Any, CommandError, Chunk[String]]

    Permalink

    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
  19. def linesStream: ZStream[Any, CommandError, String]

    Permalink

    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
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def pipe(into: Command): Command

    Permalink

    A named alias for |

    A named alias for |

    Definition Classes
    Command
  24. def redirectErrorStream(redirectErrorStream: Boolean): Command

    Permalink

    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
  25. val right: Command

    Permalink
  26. def run: ZIO[Any, CommandError, Process]

    Permalink

    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
  27. def stderr(stderr: ProcessOutput): Command

    Permalink

    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
  28. def stdin(stdin: ProcessInput): Command

    Permalink

    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
  29. def stdout(stdout: ProcessOutput): Command

    Permalink

    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
  30. def stream: ZStream[Any, CommandError, Byte]

    Permalink

    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
  31. def string(charset: Charset): ZIO[Any, CommandError, String]

    Permalink

    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
  32. def string: ZIO[Any, CommandError, String]

    Permalink

    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
  33. def successfulExitCode: ZIO[Any, CommandError, ExitCode]

    Permalink

    Runs the command returning only the exit code if zero.

    Runs the command returning only the exit code if zero.

    Definition Classes
    Command
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def workingDirectory(workingDirectory: File): Command

    Permalink

    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
  39. def |(into: Command): Command

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Command

Inherited from AnyRef

Inherited from Any

Ungrouped