Processes

org.beangle.commons.lang.Processes
object Processes extends Logging

Attributes

Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any
Self type
Processes.type

Members list

Value members

Concrete methods

def close(process: Process, waitSeconds: Int): Int

关闭进程

关闭进程

Attributes

def find(envName: String, alternatives: Seq[String]): Option[Path]

按照环境变量或者可选路径查找可执行命令

按照环境变量或者可选路径查找可执行命令

Attributes

def grep(process: Process, pattern: Pattern, waitSeconds: Int): Option[Matcher]
def isExecutable(binaryPath: String): Boolean
def launch(program: String, args: Seq[String]): Process
def launch(program: String, args: Seq[String], f: ProcessBuilder => Unit): Process

Concrete fields

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
Logging