Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.sys/scala.sys.process/ProcessImplicits

ProcessImplicits

scala.sys.process.ProcessImplicits

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.

Attributes

Source
Process.scala
Graph
Supertypes
classObject
traitMatchable
classAny

Members list

Implicits

Implicits

implicitdefbuilderToProcess(builder:JProcessBuilder):ProcessBuilder

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

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

Attributes

Source
Process.scala
implicitdefbuildersToProcess[T](builders:Seq[T])(implicitconvert:T=>Source):Seq[Source]

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.

Attributes

Source
Process.scala
implicitdeffileToProcess(file:File):FileBuilder

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") !

Attributes

Source
Process.scala

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.

Attributes

Source
Process.scala

Implicitly convert aString into ascala.sys.process.ProcessBuilder.

Implicitly convert aString into ascala.sys.process.ProcessBuilder.

Attributes

Source
Process.scala
implicitdefurlToProcess(url:URL):URLBuilder

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") !

Attributes

Source
Process.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp