SpawnedProcess

mill.testkit.IntegrationTester.SpawnedProcess
case class SpawnedProcess(process: SubProcess, chunks: Buffer[Either[Bytes, Bytes]])

A spawned subprocess with automatic stdout/stderr capture. Each line printed to stdout/stderr is captured in the buffer and also printed to console. The buffer preserves ordering, with Left representing stdout and Right representing stderr.

Attributes

Source
IntegrationTester.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def clear(): Unit

Attributes

Source
IntegrationTester.scala
def err: ByteData

Attributes

Source
IntegrationTester.scala
def out: ByteData

Attributes

Source
IntegrationTester.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product