Skip to content

start menu and explorer.exe crash #25

Description

@yatharth182002

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightquestionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions