Hi,
- I need to start an executable from a WCF service which should run under the same service account that the WCF service uses. The WCF service is hosted in IIS and configured to run under a specific service account.
- I also need to get a handle to that process and save it somewhere (in database for example) so that I can kill later if it runs for a long time unexpectedly.
- I should be able to start multiple instances of that process in parallel with different arguments.
Is this possible OR do I need to create a windows service (assuming it does the same thing what executable does) and configure it with an account and start it from WCF service? Please let me know what is the right solution for this. thanks.