0
Reply

Passing arguments to running programs

dan.nilsson

dan.nilsson

Aug 21 2004 10:15 AM
2.6k
I am developing a command line program which needs to get information from command line switches every now and then. So instead of starting a new process when the program is executed, it will pass an event or message to the already running program telling it what it would do. For example: First program.exe is executed and the program is started. Then we run program.exe /cleardatabase and the running process receives this request and acts accordingly.