Think Linux, think C … think Command Line … one command follows another … boring! … well, this tutorial might start you thinking otherwise … it illustrates a process spawning technique via the C family functions including execv … maybe study it and for afters study nohup and nice and the use of & for background processing.
Background reading for tutorial:
Here is a tutorial that introduces you to some C programming code for spawning a child process in Linux …
Let’s see some C via XCode for this …
Link to some downloadable code … rename to main.cpp (or main.c … see how XCode can do C as well!) for use.
If this was interesting you may be interested in this too.