private void processCommand(List<String> command) throws Exception {
        processBuilder.command(command);
        Process p = processBuilder.start();
        checkReturnCode(p, processBuilder.command().toString(), ReturnCode.OK.getValue(), ReturnCode.ALREADY_EXISTS.getValue());
        if (!acceptLicense) {
            throw new BuildException("To install a feature, you must accept the feature's license terms and conditions.");
        }
    }
private void processCommand ( List < String > command ) throws Exception { processBuilder . command ( command ) ; Process p = processBuilder . start ( ) ; checkReturnCode ( p , processBuilder . command ( ) . toString ( ) , ReturnCode . OK . getValue ( ) , ReturnCode . ALREADY_EXISTS . getValue ( ) ) ; if ( ! acceptLicense ) { throw new BuildException ( "To install a feature, you must accept the feature's license terms and conditions." ) ; } }
Process the command.
@param command A String list containing the command to be executed.