'Adds the -o parameter to get report of the command string that the
user has set.'

def processCommandString(self, username, current_path, command_string):

    arg_match = self.xml_arg_re.match(command_string)
    self._output_path = os.path.join(self.data_path, ('skipfish_output-%s' % random.uniform(1, 10)))
    if (arg_match is None):
        return re.sub('(^.*?skipfish)', ('\\1    -o    %s' % self._output_path), command_string, 1)
    else:
        return re.sub(arg_match.group(1), ('-o    %s' % self._output_path), command_string, 1)
