code: public static String execute(final boolean withResponse, final String... command)
  		throws IOException
  	{
  		final List<String> commands = new ArrayList<>();
  		commands.add("bash");
  		commands.add("-c");
  		commands.addAll(Arrays.asList(command));
  		String response = "";
  
  		final ProcessBuilder pb = new ProcessBuilder(commands);
  		pb.redirectErrorStream(true);
  
  		final Process shell = pb.start();
  
  		if (withResponse)
  		{
  			try (InputStream shellIn = shell.getInputStream())
  			{
  				response = toString(shellIn);
  			}
  		}
  
  		return response;
  	}
docs: Execute the given commands and return the result.
  
  @param withResponse
  the with response
  @param command
  the command(s)
  @return the string
  @throws IOException
  Signals that an I/O exception has occurred.