Thread when starting a process
is there a way to make that process run in the background when i close the application that started the process? if i close the main console app, it also closes the new process
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "discordbotloader.exe";
process.StartInfo.Arguments = "-bot";
process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
process.Start();
process.WaitForExit();