EasyEngine / shell-command

4 stars 7 forks source link

ee shell not working on SSH due to TTY allocation #16

Closed kirtangajjar closed 5 years ago

kirtangajjar commented 5 years ago

The following command fails -

ssh root@example.com "ee shell example.com --command='wp site list'"

Output:
the input device is not a TTY

To mitigate it, we have to disable TTY allocation when we run ee shell command with --command flag. We should use -T flag of docker-compose to implement it.