I am building an application that starts a web server before doing anything else. The web server is launched as a windows process. When my application is closed the web server process continues to run. Is there a way to shut down the process when closing my program or maybe even checking for the instance of the process when my program launches ? If the process is running then my app should just load and if the process is not running then my app should load the web server process. Confuse anyone yet ?
Announcement
Collapse
No announcement yet.
Search for running process ?
Collapse
X
Comment