Package org.harctoolbox.harchardware
Interface ICommandExecutor
- All Superinterfaces:
AutoCloseable
,Closeable
,IHarcHardware
A "Batch command" executor.
-
Method Summary
Modifier and TypeMethodDescriptionExecutes a command, does not return until its finished.Methods inherited from interface org.harctoolbox.harchardware.IHarcHardware
getVersion, isValid, open, setDebug, setTimeout, setVerbose
-
Method Details
-
exec
Executes a command, does not return until its finished. Then returns its Output as a collection of Strings.- Parameters:
command
- Command given.- Returns:
- Output produced. Collection of Strings.
- Throws:
IOException
HarcHardwareException
-