0

My target is to call an 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?

1
  • when you Process.Start an external app it keeps alive regardless of the calling app that shelled/spawned the new process... isn't what your asking by design behaviour? Aug 12, 2011 at 6:12

1 Answer 1

6

Use Process.Start.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.