athrvvvv / AppOpener

Python library to open/close applications in windows.
https://appopener.readthedocs.io/en/latest/
MIT License
18 stars 7 forks source link

Added the ability to throw error with the throw_error argument #12

Closed Sahil481 closed 1 year ago

Sahil481 commented 1 year ago

I modified two files features.py and checks.py. In check.py I'm raising an exception instead of printing and in features.py I have modified two function:

Open things : made it so when an app is not found it can throw an error Close things : Made it so when a app is not running it can throw a error