0
In Python, how to assign stdout, stdin, and stderr to variables , using the "subprocess" module with the hidden console? Before packaging the program in executable . exe, I can do the normal assignment, but after the program bundled to exe with pyinstaller, without command prompt console, error. Can someone help me? Because with the console appearing works, but with the hidden console does not, and as my program has graphical interface I do not want console appearing.
Thanks for the reply. I discovered my mistake. I just needed to put a Try/except in each one.
– user110265