code: def startfile(fpath, detatch=True, quote=False, verbose=False, quiet=True):
      
      print('[cplat] startfile(%r)' % fpath)
      fpath = normpath(fpath)
      # print('[cplat] fpath=%s' % fpath)
      if not exists(fpath):
          raise Exception('Cannot start nonexistant file: %r' % fpath)
      #if quote:
      #    fpath = '"%s"' % (fpath,)
      if not WIN32:
          fpath = pipes.quote(fpath)
      if LINUX:
          #out, err, ret = cmd(['xdg-open', fpath], detatch=True)
          outtup = cmd(('xdg-open', fpath), detatch=detatch, verbose=verbose, quiet=quiet)
          #outtup = cmd('xdg-open', fpath, detatch=detatch)
      elif DARWIN:
          outtup = cmd(('open', fpath), detatch=detatch, verbose=verbose, quiet=quiet)
      elif WIN32:
          os.startfile(fpath)
      else:
          raise RuntimeError('Unknown Platform')
      if outtup is not None:
          out, err, ret = outtup
          if not ret:
              raise Exception(out + ' -- ' + err)
      pass
docs: Uses default program defined by the system to open a file.
  
      References:
          http://stackoverflow.com/questions/2692873/quote-posix-shell-special-characters-in-python-output