Provide implicit conversions for the factories offered byscala.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 objectscala.sys.process.
Implicitly convert ajava.lang.ProcessBuilder into a Scala one.
Return a sequence ofscala.sys.process.ProcessBuilder.Source from a sequence of values for which an implicit conversion toSource is available.
Return a sequence ofscala.sys.process.ProcessBuilder.Source from a sequence of values for which an implicit conversion toSource is available.
Implicitly convert ajava.io.File into ascala.sys.process.ProcessBuilder.FileBuilder, which can be used as either input or output of a process.
Implicitly convert ajava.io.File into ascala.sys.process.ProcessBuilder.FileBuilder, which can be used as either input or output of a process. For example:
import scala.sys.process._"ls" #> new java.io.File("dirContents.txt") !Implicitly convert a sequence ofString into ascala.sys.process.ProcessBuilder.
Implicitly convert a sequence ofString into ascala.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.
Implicitly convert aString into ascala.sys.process.ProcessBuilder.
Implicitly convert ajava.net.URL into ascala.sys.process.ProcessBuilder.URLBuilder , which can be used as input to a process.
Implicitly convert ajava.net.URL into ascala.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") !