public interface ProcessBuilderImplementation extends Lookup.Provider
ProcessBuilder
.ProcessBuilder
Modifier and Type | Method and Description |
---|---|
Process |
createProcess(ProcessParameters parameters)
Creates a process using the specified parameters.
|
Environment |
getEnvironment()
Returns the object for environment variables manipulation.
|
Lookup |
getLookup()
Provides an extension point to the implementors.
|
@NonNull Environment getEnvironment()
Lookup getLookup()
ProcessBuilder
by this as the content of the Lookup
is included in
ProcessBuilder.getLookup()
getLookup
in interface Lookup.Provider
@NonNull Process createProcess(@NonNull ProcessParameters parameters) throws IOException
The environment variables stored in parameters are acquired by call to
Environment.values()
. So if the implementation does not aim to be
or can't be thread safe it may check or use the Environment
directly.
parameters
- the instance describing the process parametersIOException
- if the process could not be created