Replies: 1 comment
-
Looks like your code would get stuck when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment details
Issue description
I wrote a code to execute a set of commands that are given in the form of array.
and i wrote the code in such a way that if there is any user input prompt present like a password prompt. that would be given through code
the following is the code
now as you can see from the commands array there are 8 commands but the execution gets stuck at the 6th command.
i.e. The "docker ps" runs perfectly but I am unable to execute the "docker exec - it bash" command.
There isn't any timeout or the code isn't executing the exit command. It just waits for a new command.
Beta Was this translation helpful? Give feedback.
All reactions