Module net.anwiba.commons.thread
Interface IProgramLauncher
- All Known Implementing Classes:
ProgramLauncher
public interface IProgramLauncher
-
Method Summary
Modifier and TypeMethodDescriptionerrorStreamConsumer(IConsumer<InputStream, IOException> errorStreamConsumer) inputStreamConsumer(IConsumer<InputStream, IOException> inputStreamConsumer) launch()waitFor()waitNot()
-
Method Details
-
waitNot
IProgramLauncher waitNot() -
waitFor
IProgramLauncher waitFor() -
streamToLogger
IProgramLauncher streamToLogger() -
command
-
argument
-
errorStreamConsumer
-
inputStreamConsumer
-
launch
- Throws:
IOExceptionCanceledException
-
launch
- Throws:
IOExceptionCanceledException
-