Skip to content

windows10-wifi.py displays command prompt windows #44

@fluffydolphin

Description

@fluffydolphin

Depending on how you run this script it can end up showing command prompt windows due to the fact it is using subprocess so you can add shell = True to these to lines to hind the windows.

profile_info = subprocess.run(["netsh", "wlan", "show", "profile", name], shell = True, capture_output = True).stdout.decode()

profile_info_pass = subprocess.run(["netsh", "wlan", "show", "profile", name, "key=clear"], shell = True, capture_output = True).stdout.decode()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions