SystemStreams

mill.api.daemon.SystemStreams
See theSystemStreams companion class
object SystemStreams

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

@Scaladoc(value = "/**\n * Used to check whether the system streams are all \"original\", i,e. they\n * have not been overridden. Used for code paths that need to work differently\n * if they have been overridden (e.g. handling subprocess stdout/stderr)\n *\n * Assumes that the application only uses [[withStreams]] to override\n * stdout/stderr/stdin.\n */")
def isOriginal(): Boolean

Used to check whether the system streams are all "original", i,e. they have not been overridden. Used for code paths that need to work differently if they have been overridden (e.g. handling subprocess stdout/stderr)

Used to check whether the system streams are all "original", i,e. they have not been overridden. Used for code paths that need to work differently if they have been overridden (e.g. handling subprocess stdout/stderr)

Assumes that the application only uses withStreams to override stdout/stderr/stdin.

Attributes

@Scaladoc(value = "/**\n * The original non-override stderr, used for debugging purposes e.g. if you\n * want to print stuff while the system streams override are messed up\n */")
def originalErr: PrintStream

The original non-override stderr, used for debugging purposes e.g. if you want to print stuff while the system streams override are messed up

The original non-override stderr, used for debugging purposes e.g. if you want to print stuff while the system streams override are messed up

Attributes

Concrete fields

val current: DynamicVariable[SystemStreams]
@Scaladoc(value = "/**\n * The original system streams of this process, before any redirection.\n *\n * NOTE: you should not use this! They do not get captured properly by Mill\'s stdout/err\n * redirection, and thus only get picked up from the Mill server log files asynchronously.\n * That means that the logs may appear out of order, jumbling your logs and screwing up\n * your terminal\n */")

The original system streams of this process, before any redirection.

The original system streams of this process, before any redirection.

NOTE: you should not use this! They do not get captured properly by Mill's stdout/err redirection, and thus only get picked up from the Mill server log files asynchronously. That means that the logs may appear out of order, jumbling your logs and screwing up your terminal

Attributes