def METHOD_NAME(self, options):
    curr_dir = ""
    if options.working_dir:
        curr_dir = os.path.abspath(options.working_dir)
    super(PeacockMainWindow, self).METHOD_NAME(options)
    if options.working_dir:
        # if the input file is set then it will change directory to where
        # it exists. We need to honor the command line switch for the working dir.
        self.tab_plugin.ExecuteTabPlugin.ExecuteOptionsPlugin.setWorkingDir(curr_dir)
    self._setTitle()