for example, I want to to send `print(32) to python and it should print 32 and remain open until I press ctrl+d
I did following
echo 'print(32)' | python but It just prints 32 and closes the python.
I want to keep the Python's interactive shell open to send further commands from my keyboard.
EDIT: that was just example. instead of python it could be node, ruby or docker exec -it command.
basically I want to pipe output as if I was typing via my keyboard