Class ProcessOptions

java.lang.Object
org.ojalgo.concurrent.ProcessOptions
All Implemented Interfaces:
Serializable

public final class ProcessOptions extends Object implements Serializable
Options to control the child JVM process used by ProcessExecutorService. Immutable; use the builder to construct instances.

Notes on inheritance:

  • Environment variables: a child ProcessBuilder inherits the parent environment by default. Any entries added via ProcessOptions.Builder.env(String, String) are applied on top of that.
  • System properties: a child JVM does not automatically inherit arbitrary -D properties; only those provided here are passed as -Dkey=value. Use the builder helpers to inherit selected properties if needed.
  • Classpath: by default the executor derives an effective classpath from test/main classpaths and build output directories; specifying ProcessOptions.Builder.classpath(String) overrides that.
See Also: