code: public static int execute(String command, String[] envVars, File dir, Receiver outputReceiver) throws IOException {
  		return execute(getCommandArrayForCurrentOS(command), envVars, dir, outputReceiver);
  	}
docs: Blindly invokes a shell command on Windows or Unix systems.
  It seems that the command is not executed asynchronously
  Note: this command will hang if user input is required.
  
  
  @param command
  @param dir
  @return status code