Command

oxygen.zio.system.Command
See theCommand companion object
final class Command

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addEnv(env: Growable[(String, String)]): Command
def apply(args: Args*): Command
def envVar(key: String, value: String): Command
def envVar(key: String, value: Option[String]): Command
def execute(outLevel: LogLevel, errorLevel: LogLevel)(using trace: Trace): Task[Int]
def executeString(errorLevel: LogLevel)(using trace: Trace): Task[String]
def executeSuccess(outLevel: LogLevel, errorLevel: LogLevel)(using trace: Trace): Task[Unit]
def sudo: Command
def sudoIf(cond: Boolean): Command

Concrete fields

lazy val fullCommand: Growable[String]