solutions:


sleep 0.1 && rlwrap -r ...

just sleep a little time before call rlwrap.