Skip to content

[Question]: Why the code USES the p = await async_playwright (). The start (), There is still a cmd window after pyinstaller -F -w .py is packaged #1598

@dzmgithub

Description

@dzmgithub

Your question

Why the code USES the p = await async_playwright (). The start (), There is still a cmd window after pyinstaller -F -w .py is packaged

code:
p = await async_playwright().start()
browser = await p.chromium.connect_over_cdp(r"http://localhost:9527/")

When I run the exe program, the following window will appear.
1666253024256

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions