athrvvvv / AppOpener

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

Closing File Explorer Closes Desktop on Windows #15

Closed taw5578 closed 1 year ago

taw5578 commented 1 year ago

Using this library to close the 'File Explorer' app causes the Windows desktop to disappear.

athrvvvv commented 1 year ago

Yes, but you can also start it like:

from AppOpener import open
open("explorer", match_closest=True)
taw5578 commented 1 year ago

Yes that is true, but that still does not resolve the issue. If at any point the close() method is used on file explorer, the Windows desktop disappears. The ability to close file explorer should either be removed or fixed. Opening it right after closing it does not resolve the issue.

athrvvvv commented 1 year ago

Okay, next version fixes this!! 🥰

athrvvvv commented 1 year ago

AppOpener v1.7 just released!! ✌️

Install AppOpener v1.7:

pip install AppOpener==1.7

Close File Explorer without closing the windows

from AppOpener import close
close("file explorer")

Lots of love, athrv.