-
-
Notifications
You must be signed in to change notification settings - Fork 11
start menu and explorer.exe crash #25
Copy link
Copy link
Open
Labels
invalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requested
Change the restart logic. Replace each instance of subprocess.Popen('explorer.exe') with a start call through cmd.exe. For example:
Kill existing explorer
subprocess.run(['taskkill', '/F', '/IM', 'explorer.exe'], check=True)
Use cmd’s ‘start’ to relaunch the Explorer shell
subprocess.run(['cmd', '/c', 'start', '', 'explorer.exe'], check=True)