You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While migrating from 4.x.x to 5.x.x esptool version for using as python module with basic cli integration (e.g. calling esptool.main(), espefuse.main()) I have noticed not obvious change that such usage now leads to script exiting after any esptool main(cmd) with exit() calling. So there is no bare option to use a chain of esptool cmd calls or some post-esptool call logic. To achieve that I am catching SystemExit exception for each esptool command call and just pass it on script side.