sealed abstract class ProcessBuilder extends AnyRef
- Source
- ProcessBuilder.scala
- Alphabetic
- By Inheritance
- ProcessBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
args: List[String]
Arguments passed to command.
-
abstract
def
command: String
Command to run.
-
abstract
def
extraEnv: Map[String, String]
Additional environment variables for this process.
Additional environment variables for this process. These may override inherited environment variables.
-
abstract
def
inheritEnv: Boolean
Whether to inherit environment variables of the current process.
Whether to inherit environment variables of the current process. Defaults to
true. -
abstract
def
withArgs(args: List[String]): ProcessBuilder
- See also
-
abstract
def
withCommand(command: String): ProcessBuilder
- See also
-
abstract
def
withCurrentWorkingDirectory: ProcessBuilder
- See also
-
abstract
def
withExtraEnv(env: Map[String, String]): ProcessBuilder
- See also
-
abstract
def
withInheritEnv(inherit: Boolean): ProcessBuilder
- See also
-
abstract
def
withWorkingDirectory(workingDirectory: Path): ProcessBuilder
- See also
-
abstract
def
workingDirectory: Option[Path]
Working directory for this process.
Working directory for this process. If
Nonethen it will use the working directory of the current process. Defaults toNone
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
spawn[F[_]](implicit arg0: Processes[F]): Resource[F, Process[F]]
Starts the process and returns a handle for interacting with it.
Starts the process and returns a handle for interacting with it. Closing the resource will kill the process if it has not already terminated.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )