|
org.netbeans.modules.extexecution/2 1.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessBuilderImplementation
The interface representing the implementation
of ProcessBuilder.
Although it is not required it is reasonable to have implementation of this
interface stateless. In such case instances of ProcessBuilder
using it will be thread safe.
ProcessBuilder| Method Summary | |
|---|---|
Process |
createProcess(String executable,
String workingDirectory,
List<String> arguments,
List<String> paths,
Map<String,String> environment,
boolean redirectErrorStream)
Creates a process using the specified parameters and environment configuration. |
| Method Detail |
|---|
@NonNull
Process createProcess(@NonNull
String executable,
@NullAllowed
String workingDirectory,
@NonNull
List<String> arguments,
@NonNull
List<String> paths,
@NonNull
Map<String,String> environment,
boolean redirectErrorStream)
throws IOException
executable - the name of the executable to runworkingDirectory - the working directory of the created process or
null as implementation specific defaultarguments - the arguments passed to the processpaths - the additional paths to add to PATH environment
variableenvironment - environment variables to configure for the processredirectErrorStream - when true the error stream of
the process should be redirected to standard output stream
IOException - IOException if the process could not be created
|
org.netbeans.modules.extexecution/2 1.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||