Is this how you do it?
If not, why not? And how? The key thing I want most if that all the processes run at the same time.Code:int main(int argc, char *argv[]) { int i = 0; for(i=0;i<argc;i++) { if(fork() == 0) { printf("child %d\n", i); exit(1); } } return 0; }