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

Bee prints version to the stderr #1648

Closed
nugaon opened this issue May 3, 2021 · 0 comments · Fixed by #1660
Closed

Bee prints version to the stderr #1648

nugaon opened this issue May 3, 2021 · 0 comments · Fixed by #1660
Labels
bug Something isn't working issue

Comments

@nugaon
Copy link
Member

nugaon commented May 3, 2021

Summary

I was trying to set the output of the bee version to a variable , when I noticed I don't get anything on the stdout .
I've solved the issue by redirecting the stderr to the stdout, but I don't think it is the intentional behaviour of the command.

Steps to reproduce

BEE_VERSION=$(bee version)
# Empty string
echo $BEE_VERSION
BEE_VERSION=$(bee version 2>&1)
# Actual Bee version
echo $BEE_VERSION

Expected behavior

I can get back the result on the stdout

@nugaon nugaon added the bug Something isn't working label May 3, 2021
@bee-runner bee-runner bot added the issue label May 3, 2021
@acud acud closed this as completed in #1660 May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant