Open fluffydolphin opened 1 year ago
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()
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()