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

Great point — I’m planning to add a --stdin option explicitly for cases like this. Thanks for raising it. I will add to the readme in the meanwhile.