-
Notifications
You must be signed in to change notification settings - Fork 3k
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
CLI dies if output pipe is broken. #58
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Milestone
Comments
Looking into this. |
@derekbekoe : Close the issue? |
This isn't resolved right now. |
Example from recent build:
|
JasonRShaver
added
the
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
label
Aug 3, 2016
Closing as #770 is tracking this |
haroldrandom
added
the
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
label
Oct 25, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
If cli output is attached to a broken pipe, it will crash. Example: 'az vm list | jfhksfh'
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/joe/azure-cli/src/azure/cli/main.py", line 5, in
sys.exit(azure.cli.main.main(sys.argv[1:]))
File "/Users/joe/azure-cli/src/azure/cli/main.py", line 47, in main
OutputProducer(formatter=formatter, file=file).out(cmd_result.result)
File "/Users/joe/azure-cli/src/azure/cli/_output.py", line 62, in out
print(self.formatter(obj), file=self.file)
BrokenPipeError: [Errno 32] Broken pipe
The text was updated successfully, but these errors were encountered: