'Run sqlmap and immediately return handlers to stdout, stderr and stdin
so the code using this can interact directly with the process.
:param custom_params: A list with the extra parameters that we want to
send to sqlmap.
:return: Runs sqlmap and returns a tuple with:
(last command run,
Popen object so that everyone can read .stdout)
This is very useful for using with w3af\'s output manager.'

def run_sqlmap_with_pipes(self, custom_params):

    process = self._run(custom_params)
    if (process is None):
        return (None, None)
    return (self.last_command, process)
