praticamente sto cercando di avere un heredoc essere eseguito dalla shell di Flask-migrate con Flask contesto appheredoc su exec finestra mobile
Di seguito è riportato il comando che sto cercando di correre dentro il mio script bash
$ docker exec -it mycontainer ./manage shell <<-EOF
# shell commands to be executed
EOF
Quando si tenta di eseguire il comando sopra ottengo:
cannot enable tty mode on non tty input
Questa è la gestire file:
La mia domanda c'è un modo per passare un insieme di comandi come in heredoc alla shell?