I\'ve made a program which launches another python program using os.startfile().
I wanted to have this as two exe files, launching the second b
A program created by cx_Freeze isn't a single exe file. It's the entire folder created under the build folder. If you just copy the exe file, you are only copying part of the program.
Instead of trying to have two exe files in the same folder, what you should do is have two folders, each being a complete cx_Freeze program. Your subprocess call should be calling ../program2/program2.exe instead of just ./program2.exe.