Changeset 1460

Show
Ignore:
Timestamp:
07/07/08 07:41:00 (2 months ago)
Author:
rob
Message:

Only RunFilter? should have expanded the command line args to include the pathname of the file

Location:
trunk/peppy
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/peppy/mainmenu.py

    r1459 r1460  
    518518 
    519519    def processMinibuffer(self, minibuffer, mode, text): 
    520         self.mode.startCommandLine(text) 
     520        self.mode.startCommandLine(text, expand=True) 
    521521 
    522522class StopScript(RunMixin, SelectAction): 
  • trunk/peppy/major.py

    r1459 r1460  
    10651065        return cmd 
    10661066     
    1067     def startCommandLine(self, cmd): 
     1067    def startCommandLine(self, cmd, expand=False): 
    10681068        """Attempt to create a process using the command line""" 
    10691069        if hasattr(self, 'process'): 
     
    10781078                self.save() 
    10791079 
    1080             cmd = self.expandCommandLine(cmd) 
     1080            if expand: 
     1081                cmd = self.expandCommandLine(cmd) 
    10811082            if self.classprefs.output_log == 0: 
    10821083                output = self