ProcessImplicits (original) (raw)

scala.sys.process.ProcessImplicits

Provide implicit conversions for the factories offered by scala.sys.process.Process's companion object. These implicits can then be used to decrease the noise in a pipeline of commands, making it look more shell-like. They are available through the package object scala.sys.process.

Attributes

Source

Process.scala

Graph

Supertypes

Members list

Implicitly convert a java.lang.ProcessBuilder into a Scala one.

Implicitly convert a java.lang.ProcessBuilder into a Scala one.

Attributes

Source

Process.scala

Implicitly convert a sequence of String into a scala.sys.process.ProcessBuilder. The first argument will be taken to be the command to be executed, and the remaining will be its arguments. When using this, arguments may contain spaces.

Attributes

Source

Process.scala

Implicitly convert a java.net.URL into a scala.sys.process.ProcessBuilder.URLBuilder , which can be used as input to a process. For example:

import scala.sys.process._
Seq("xmllint", "--html", "-") #< new java.net.URL("https://www.scala-lang.org") #> new java.io.File("fixed.html") !

Attributes

Source

Process.scala

In this article