--- kombilo05/kombilo.py~ 2008-07-04 20:04:05.000000000 +0200 +++ kombilo05/kombilo.py 2008-07-04 22:22:04.000000000 +0200 @@ -5191,7 +5191,7 @@ elif os.path.isfile(s1): pid = os.fork() if pid == 0: - os.execv(s1, (s1,)+tuple(split(s2))) + os.execv(s1, (s1,)+tuple(split(s2, "||"))) #Changing the seperator to handle path with spaces showwarning('Error', 'Error starting SGF viewer') else: showwarning('Error', s1 + ' not found.') except OSError: @@ -5296,7 +5296,7 @@ l1 = Label(f, text='Enter the command to launch the SGF viewer') e1 = Entry(f, width=40, textvariable=self.options.altViewerVar1) - l2 = Label(f, text='Enter the command line options, with %f for the filename') + l2 = Label(f, text='Enter the command line options, with %f for the filename, %n for the move number. \n Separate your arguments by ||') e2 = Entry(f, width=40, textvariable=self.options.altViewerVar2) b = Button(f, text='OK', command = window.destroy) @@ -6403,13 +6403,13 @@ self.board.state('normal', self.nextMove) self.board.shadedStoneVar.set(1) + self.basepath = SYSPATH self.initButtons(navFrame, labelFrame) self.initMenus() self.moveno.set(0) self.capB, self.capW = 0, 0 self.board.invertSelection = self.options.invertSelection - self.basepath = SYSPATH self.datapath = self.basepath self.sgfpath = os.curdir