if [ "`which rlwrap`" != "" ]; then exec rlwrap -b ' ' -C qp -f /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin/rl_commands /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin/qem -Q '/opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin/qp.qx' "$@" -- else exec /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin/qem -Q '/opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin/qp.qx' "$@" -- fi