def _create_symlink_cygwin(self, initial_path, final_path):
        """
        Use cygqin to generate symbolic link
        """
        symlink_cmd = [os.path.join(self._cygwin_bin_location, "ln.exe"),
                       "-s", self._get_cygwin_path(initial_path),
                       self._get_cygwin_path(final_path)]
        process = Popen(symlink_cmd,
                        stdout=PIPE, stderr=PIPE, shell=False)
        out, err = process.communicate()
        if err:
            print(err)
            raise Exception(err)

        return out.strip()
def _create_symlink_cygwin ( self , initial_path , final_path ) : symlink_cmd = [ os . path . join ( self . _cygwin_bin_location , "ln.exe" ) , "-s" , self . _get_cygwin_path ( initial_path ) , self . _get_cygwin_path ( final_path ) ] process = Popen ( symlink_cmd , stdout = PIPE , stderr = PIPE , shell = False ) out , err = process . communicate ( ) if err : print ( err ) raise Exception ( err ) return out . strip ( )
Use cygqin to generate symbolic link