def METHOD_NAME(self, section):
    exec_value = self._parser[section]["Exec"]
    exec_split = shlex.split(exec_value, posix=False)
    # Ensure command is invoked correctly.
    if self._app_name == self._snap_name:
        exec_split[0] = self._app_name
    else:
        exec_split[0] = "{}.{}".format(self._snap_name, self._app_name)
    self._parser[section]["Exec"] = " ".join(exec_split)