Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nomad exec: check stdout for tty as well
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 ```
- Loading branch information