I have a small application that I am trying to create against window machines. The program creates an OpenVPN connection. If I create a program and run it, it first opens the console as the program output. If I pass the parameter -wto pyinstaller so as not to create it with the console connected, the program does not start at all. It opens completely, but the vpn connection is never created.
Everything works fine with the console.
I also have basic logging for the application to see where my code can stop and nothing is written. With the console in my program, all kinds of magazines spit out.
I just don’t know why my program can work perfectly with the console, but do nothing without it. Any ideas?
source
share