public class NativeProcessRunner extends Object
Constructor and Description |
---|
NativeProcessRunner(ProcessBuilder procBuilder,
String stdin,
Consumer<String> out,
Consumer<String> err)
Constructs a new instance of native process runner.
|
Modifier and Type | Method and Description |
---|---|
void |
startAndWait()
Starts the native process and waits it to be completed successfully or with exception.
|
public NativeProcessRunner(ProcessBuilder procBuilder, String stdin, Consumer<String> out, Consumer<String> err)
procBuilder
- Process builder.stdin
- Standard input of the process.out
- Output stream data consumer.err
- Error stream data consumer.public void startAndWait() throws InterruptedException
InterruptedException
GridGain In-Memory Computing Platform : ver. 8.9.4 Release Date : April 16 2024