I’m writing an installer of sorts. When a user runs my python file (compiled to executable), it downloads the actual installer then needs to run the installer and immediately exit (i.e. the real installer keeps running). My question is how do I do this bit? How do I execute the installer from the python script and exit immediately?
Share
You should look at
os.exec*functions:If you must exit the python script, may be you could use
subprocess.Popenand then exit, but I am not sure about this.