I have a little exe that is used to launched a daemon and a gui:
#include <stdlib.h>
int main(void)
{
(void)system("d aemon.exe");
(void)system("g ui.exe");
return 0;
}
If the daemon is already running I want the gui to be launched only, unless
it's running too in which can cased nothing should be launched.
how can I make it check whether the daemon and the gui are already running?
thanx in advance
#include <stdlib.h>
int main(void)
{
(void)system("d aemon.exe");
(void)system("g ui.exe");
return 0;
}
If the daemon is already running I want the gui to be launched only, unless
it's running too in which can cased nothing should be launched.
how can I make it check whether the daemon and the gui are already running?
thanx in advance
Comment