Package org.sqlite.util
Class ProcessRunner
java.lang.Object
org.sqlite.util.ProcessRunner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String
getProcessOutput
(Process process) (package private) String
runAndWaitFor
(String command) (package private) String
runAndWaitFor
(String command, long timeout, TimeUnit unit)
-
Constructor Details
-
ProcessRunner
public ProcessRunner()
-
-
Method Details
-
runAndWaitFor
- Throws:
IOException
InterruptedException
-
runAndWaitFor
String runAndWaitFor(String command, long timeout, TimeUnit unit) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getProcessOutput
- Throws:
IOException
-