Skip to content

Conversation

AlejandroSuero
Copy link
Contributor

When piping the command like freeze png.go | pbcopy it will write to the stdout.

Like @maaslalani said, when not tty it will write to stdout.

Demo

write-to-stdout-if-piped-demo.mp4

@AlejandroSuero
Copy link
Contributor Author

In this demo I show how the current freeze png.go > out.txt won't write correctly to stdout when piped and how this PR's changes makes it possible to do it.

write-to-stdout-files-demo.mp4

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

Successfully merging this pull request may close these issues.

1 participant