Deviprasad Das
Deviprasad Das

Reputation: 4373

How to run executable file in AppDomain?

I wanted to run an executable file in an AppDomain. The execute file is not an assembly. How can i do that? Can someone please tell me.

Upvotes: 0

Views: 1429

Answers (2)

Richard Szalay
Richard Szalay

Reputation: 84804

An AppDomain, in the context of your question, is a .NET CLR concept and cannot be used to execute an unmanaged exectable.

If you run the executable using Process.Start, it will run in its own Process which has even higher isolation than an AppDomain.

What features of an AppDomain did you want to have when running the executable?

Upvotes: 2

Thorin Oakenshield
Thorin Oakenshield

Reputation: 14692

What about Proces.Start(Your exe) ? Is that not working?

Upvotes: 0

Related Questions