Skip to content

do not execute automatic upgrades while running scripts #28467

@alexander-kastil

Description

@alexander-kastil

Is your feature request related to a problem? Please describe.
I have automatic upgrades for azure cli enabled ... up to now it happened 3 times to me that the upgrade started in the middle of a batch of commands which were saved as a script. after the upgrade the script did not resume and I had to run it again, and if there were random parts in the script I had to clean up the whole environment. This always happend while using WSL

Describe the solution you'd like
Implement a solution that the cli does not upgrade itself while executing a batch of commands (script)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions