@Component public class OsOperationsImpl extends Object implements OsOperations
OsOperations
interface.Constructor and Description |
---|
OsOperationsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
executeCommand(String command)
Attempts the execution of a commands and delegates the output to the
standard logger.
|
public void executeCommand(String command) throws IOException
OsOperations
executeCommand
in interface OsOperations
command
- the command to executeIOException
- if an error occurs