I wrote a python script which runs a subprocess.Popen("powershell.exe ssh -p ...")
and when I run it there is no extra console. I converted it to exe with this command:
pyinstaller.exe --onefile --windowed --icon=icon.ico -F --noconsole app.py
when I run the exe file, it shows an empty console. I tried "powershell.exe -windowstyle hidden ssh ..."
but it didn't work.
How can I hide the console?