Package org.bgerp.util
Class RuntimeRunner
java.lang.Object
org.bgerp.util.RuntimeRunner
Runner of OS commands, writing STDOUT and STDERR outputs
to a log with levels INFO and ERROR.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RuntimeRunner
-
-
Method Details
-
run
Executes OS commands- Throws:
IOException
InterruptedException
BGException
- if exit code wasn't 0
-