Search code examples
c#.netmultithreadinghttplistener

Launch long running process from HTTPListener


I have implemented a simple HTTP Server using HTTPListener , I need to launch a process that runs for about 10 minutes from HTTPListerner . When a request is made from user , I dont want user to wait in browser untill the process completes as its going to timeout . So I launch process and just return a status . How can I launch the process ?


Solution

  • Process.Start

    also take a look at the options when starting a process