How to launch external application that keeps alive after closing the calling program in C#?
My target is to call an开发者_JS百科 external program from my C# application and keep it alive even when my application is closing. Both applications don't share anything and I could accomplish the same task by running a command from the command line by passing in a few arguments.
I've been trying to use the process class and I've been fiddling around with DTE, both let me create an instance of the external program (Visual Studio to be precise) but they will close as soon as the calling application is closing.
Is there any other way? Maybe a call to Windows, that will launch that program instead of my application?
Use Process.Start
.
精彩评论