I have a .NET Core console app (a TCP client) that needs to launch a .NET Framework console app (a TCP Server). I'm using System.Diagnostics.Process.Start(server);
and it starts, but both console apps are in the same window. How can I get the server to run in a separate window?
Asked
Active
Viewed 713 times
1

Kevin S. Miller
- 913
- 1
- 9
- 21
1 Answers
8
If you set the process properties as follows. You will get it in a new window.
ProcessStartInfo p = new ProcessStartInfo(fileName, arg);
p.UseShellExecute=true;
Process processChild = Process.Start(p); // separate window;

Cody Popham
- 992
- 5
- 14