`exec_run` not working
Hi, I am trying to run cqlsh using python SDK but whenever I run it doesn't give any output.
container.exec_run('cqlsh', stdin=True, tty=True) equivalent to docker exec -it cassandra cqlsh
I have similar problem, I want to create interactive shell from python SDK, I don't find any way to get stdin stream. stdin set to False have same behavior like True. I see that there is related issue #2744. There is two workarounds proposed but both of them use internal members of SDK.
There is existing issue from 2017 (8 years ago!) that mentions sending data to stdin of container #1752.
Another related issue from different repo: https://github.com/UMDLARS/dtanm/issues/35, there is mention of this question: https://stackoverflow.com/questions/26843625/how-to-send-to-stdin-of-a-docker-py-container that seems to have answer for problem.
There is two MR that tried to solve this problem:
#946
#239
Both closed without merging