Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drake doesn't preserve terminal connected to stdio #198

Open
lbeschastny opened this issue Sep 12, 2015 · 0 comments
Open

drake doesn't preserve terminal connected to stdio #198

lbeschastny opened this issue Sep 12, 2015 · 0 comments

Comments

@lbeschastny
Copy link

Drake executes all tasks without a terminal (piping stdio).

For example, consider the following Drakefile:

%tty <-
  tty
  exit 0

Even if I'll run drake from a terminal it'll print not a tty:

$ echo "Terminal: `tty`" && drake -a %tty
Terminal: /dev/pts/0
Running 1 steps with concurrence of 1...

--- 0. Running (via tag): %tty <- 
not a tty
--- 0: %tty <-  -> done in 0.18s
Done (1 steps run).

Many utilities behave in a different manner depending whether their stdout is connected to a terminal or to a pipe.
For example, most utilities use colors and progress reporting only when printing to some terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant