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

receive UI output to stdout, use stderr instead #99

Closed
joeyh opened this issue Dec 13, 2016 · 1 comment · Fixed by #117
Closed

receive UI output to stdout, use stderr instead #99

joeyh opened this issue Dec 13, 2016 · 1 comment · Fixed by #117
Milestone

Comments

@joeyh
Copy link
Contributor

joeyh commented Dec 13, 2016

I want to use wormhole to exchange addresses and authentication data when linking two peers over tor. It seems to make most sense to send the data over the wormhole as a message, rather than as a file, since it's short and sensitive.

But, wormhole receive outputs the message, including "Enter receive wormhole code:" to stdout. I suggest making all such stuff be sent to stderr, so that stdout can be captured to get the whole message and nothing else.

@warner
Copy link
Collaborator

warner commented Dec 16, 2016

yeah, good idea. I remember doing this for several messages, but I guess I failed to do it more generally.

@warner warner added this to the 0.8.3 milestone Dec 21, 2016
warner added a commit that referenced this issue Dec 24, 2016
This should leave stdout clean for use in `foo | wormhole send --text=-` and
`wormhole rx CODE >foo`, although the forms that want interactive code entry
probably won't work that way.

closes #99
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 a pull request may close this issue.

2 participants