Skip to content

start menu and explorer.exe crash #25

@yatharth182002

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)

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