Skip to content

Orphaned EXCEL32 and pythonw processes after exiting Excel when using the optimized connection #193

@acommendador

Description

@acommendador

While using xlwings 0.3.5 with the xlwings.bas added to an Excel add-in and the optimized connection enabled, exiting Excel with the pythonw process started closes the Excel GUI but leaves the EXCEL32 and pythonw processes running in the background. We've tried the following from a python function with no success: invoking the active workbook application quit method, and invoking sys.exit. We've also tried replacing all instances of ThisWorkbook with ActiveWorkbook within the xlwings.bas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions