class Shell extends AnyRef
- Source
- shell.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Shell
- AnyRef
- Any
Implicitly
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ++(moreArgs: Seq[String]): Shell
- def ->[B](y: B): (Shell, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(moreArgs: String*): Shell
- def applyIf(t: Boolean, f: (Shell) => Shell): Shell
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Shell) => Boolean)(f: (Shell) => Shell): Shell
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val args: Iterable[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cwd: Option[File]
- def elementOf(xs: Set[Shell]): Boolean
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Shell) => Boolean, msg: => Any): Shell
- def ensuring(cond: (Shell) => Boolean): Shell
- def ensuring(cond: Boolean, msg: => Any): Shell
- def ensuring(cond: Boolean): Shell
- val env: Iterable[(String, String)]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exitCode(implicit ec: drx.ExecutionContext): drx.Future[Int]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fork: Process
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lines(implicit ec: drx.ExecutionContext): drx.Future[List[String]]
- def linesAs[A](f: (String) => A)(implicit ec: drx.ExecutionContext): drx.Future[List[A]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Shell) => Boolean): Option[Shell]
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Shell) => Boolean): Option[Shell]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Shell) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def process(fork: Boolean = false): ProcessBuilder
- def resultString(implicit ec: drx.ExecutionContext): drx.Future[String]
- def run(f: (String) => Unit)(implicit ec: drx.ExecutionContext): drx.Future[Int]
run with each line result sent to a function
- def run(implicit ec: drx.ExecutionContext): drx.Future[Int]
run with all results sent to std out
- def sideEffect(f: (Shell) => Unit): Shell
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Shell) => Boolean): Option[Shell]
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: Shell
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toString(): String
- Definition Classes
- Shell → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def ?>(f: (Shell) => Boolean): Option[Shell]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def block(waitTime: Time)(implicit ec: drx.ExecutionContext): drx.Try[List[String]]
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) this is just too dangerous, it's too easy to use
- def |>[B](f: (Shell) => B): B
- Implicit
- This member is added by an implicit conversion from Shell toDrxAny[Shell] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Shell, B)
- Implicit
- This member is added by an implicit conversion from Shell toArrowAssoc[Shell] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.