So Program B has a debug txt log, that it writes out too with all the information and errors after it ran. If I double click the exe, the txt log is updated perfectly.
BUT when Program A uses CreateProcess(Program B), Program B runs, and does what it is suppose to do, but it no longer updates...