buchhalter-ai / buchhalter-ai-cli

The buchhalter open-source command line tool to automate invoice downloads from suppliers. Free, customizable, and designed for seamless financial workflow integration.
https://buchhalter.ai
Other
4 stars 1 forks source link

Quit Chrome instance gracefully, if an abort signal is sent #103

Closed andygrunwald closed 1 week ago

andygrunwald commented 1 week ago

Testing before this branch

  1. Run make build && bin/buchhalter sync --log --dev
  2. See the browser is launching
  3. Go to your terminal and hit q (or control + C)
  4. Your program quits
  5. Press cmd + tab
  6. You should see an open chrome instance that has been left by buchhalter

Testing with this branch

Execute step 1. until 5.

  1. You should see no open chrome instance

Success case

Please also test the success case (receiving normal invoice downloads)

Ticket

Fix #30

Other Pull Request

This Pull Request is replacing https://github.com/buchhalter-ai/buchhalter-ai-cli/pull/26