public static String executeQuery(String[] cmd) throws IOException, InterruptedException {
	return Command.execute(cmd).getOutput();
    }
public static String executeQuery ( String [ ] cmd ) throws IOException , InterruptedException { return Command . execute ( cmd ) . getOutput ( ) ; }
execute a String query on command line

@param query String to execute
@return
@throws IOException
@throws InterruptedException