parameters: (self, path, force=False)
return_statement: return _cygpath_proc.stdout.readline().rstrip()
docstring: Returns an absolute windows path. If platform is cygwin, converts it to
      windows style using cygpath.
  
      For performance reasons, we use a single cygpath process, shared among all
      instances of this class. Otherwise Python can run out of file handles.
docstring_summary: Returns an absolute windows path. If platform is cygwin, converts it to
      windows style using cygpath.
docstring_tokens: Returns an absolute windows path . If platform is cygwin converts it to windows style using cygpath .
function: def GetAbsolutePath(self, path, force=False):
      """Returns an absolute windows path. If platform is cygwin, converts it to
      windows style using cygpath.
  
      For performance reasons, we use a single cygpath process, shared among all
      instances of this class. Otherwise Python can run out of file handles.
      """
      if not force and sys.platform != "cygwin":
        return os.path.abspath(path)
      global _cygpath_proc
      if not _cygpath_proc:
        cygpath_command = [self._PathToExecutable("cygpath.exe"),
                           "-a", "-m", "-f", "-"]
        _cygpath_proc = subprocess.Popen(cygpath_command,
                                         stdin=subprocess.PIPE,
                                         stdout=subprocess.PIPE)
      _cygpath_proc.stdin.write(path + "\n")
      return _cygpath_proc.stdout.readline().rstrip()
function_tokens: def GetAbsolutePath ( self , path , force = False ) : if not force and sys . platform != "cygwin" : return os . path . abspath ( path ) global _cygpath_proc if not _cygpath_proc : cygpath_command = [ self . _PathToExecutable ( "cygpath.exe" ) , "-a" , "-m" , "-f" , "-" ] _cygpath_proc = subprocess . Popen ( cygpath_command , stdin = subprocess . PIPE , stdout = subprocess . PIPE ) _cygpath_proc . stdin . write ( path + "\n" ) return _cygpath_proc . stdout . readline ( ) . rstrip ( )