wouldnt that command line output be sent to .bash_history of the logged in user?
you probably want to unset HISTFILE and then set +o history before sending these commands to bash
you probably want to unset HISTFILE and then set +o history before sending these commands to bash