code: def _write_value(value, path):
      
      base_command = "echo '{0}' > {1}"
      # There is no common method for redirecting stderr to a null sink, so the
      # command string is platform-dependent
      if platform == 'win32':
          command = "{0} > NUL".format(base_command)
      else:
          command = "exec 2> /dev/null; {0}".format(base_command)
      os.system(command.format(value, path))
docs: Writes specified value into path. Note that the value is wrapped in single
      quotes in the command, to prevent injecting bash commands.
      :param value: The value to write (usually a number or string)
      :param path: A valid system path