help file is expeced to be viewed just in windows with explorer

Bug #270543 reported by Jurgis Pralgauskis
2
Affects Status Importance Assigned to Milestone
Algorithms Animator
New
Undecided
Unassigned

Bug Description

algorithms-animator/devel/src$ grep 'explorer' *.py
csc321init.py: os.system('explorer.exe '+helpfile)
csc321show.py: os.system("explorer.exe "+self.help)

so I propose

    def HelpSearch(self):

        try:

            if 'win' == os.sys.platform[:3]:

                os.system('explorer.exe '+helpfile)

            if 'lin' == os.sys.platform[:3]:

                #os.system('x-www-browser '+helpfile) would have to wait for return (browser close)

                os.spawnl(os.P_NOWAIT, '/usr/bin/x-www-browser', '', helpfile)

        except:

            tkMessageBox.showwarning(ProgramName, 'Problem connecting to browser')

and similary in showhelp() , jsut self.help instead of helpfile

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.