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.
The following command fails -
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.