mirror of
https://github.com/kemko/nomad.git
synced 2026-01-10 12:25:42 +03:00
When inferring whether to use TTY, check both stdin and stdout are terminals. Otherwise, we get failures like the following: ``` $ nomad alloc exec --job example echo hi hi $ echo | nomad alloc exec --job example echo hi hi $ nomad alloc exec --job example echo hi | head -n1 failed to exec into task: not a terminal ```
8.7 KiB
8.7 KiB