I have a main program written in C, i need it to launch another process in parallel,
I used the function
system("./server");
the problem is that this process contains a while(1) loop so it never return to the main application…
Is there a way i can launch the program without having to do a fork()?
thanks!
Sure – just do this: