Hi, i am using system.diagnostics.process to create and start a unity project in batchmode. I have everything working great. I am calling unity.exe in process with some arguments like, -batchMode, -quit, and -logFile. When i start app in unity editor, process creates a project, then process.Exited fires, then another process puts some files and starts the project in batchMode.
My problem is that when i build this app, and start its executable, the process again creates the project however it does not fires exited event, eventually other steps wont begin due to first process not firing exited event. I do not know why System.Diagnostics.Process.Exited is not firing when builded. I could not find any solution, so i am asking the reason for it in here.