public class ForkedProcessBuilderCreator extends Object implements Serializable
Constructor and Description |
---|
ForkedProcessBuilderCreator() |
Modifier and Type | Method and Description |
---|---|
org.objectweb.proactive.extensions.processbuilder.OSProcessBuilder |
createForkedProcessBuilder(TaskContext context,
File serializedContext,
PrintStream outputSink,
PrintStream errorSink,
File workingDir)
Creates a process builder for a given task context.
|
public org.objectweb.proactive.extensions.processbuilder.OSProcessBuilder createForkedProcessBuilder(TaskContext context, File serializedContext, PrintStream outputSink, PrintStream errorSink, File workingDir) throws Exception
context
- The task context to execute.serializedContext
- The task context saved to disk.outputSink
- Standard output sink.errorSink
- Error sink.workingDir
- The working directory to execute the process in.Exception