}
}
}
private void perform(final String commandLine) throws Exception {
final LoggingOutputStream sysOut = new LoggingOutputStream(Level.INFO);
final LoggingOutputStream sysErr = new LoggingOutputStream(Level.SEVERE);
sysOut.setSourceClassName(FelixDelegator.class.getName());
sysErr.setSourceClassName(FelixDelegator.class.getName());
final PrintStream printStreamOut = new PrintStream(sysOut);
final PrintStream printErrOut = new PrintStream(sysErr);
try {
shellService.executeCommand(commandLine, printStreamOut,
printErrOut);