I am looking for process & a system call which is responsible for starting every new process on Mac.
I believe it should be something like CreateProcess() and which returns process id of newly created process.(This is a guess)
I am interested in internal details like a flow responsible for launching new application.
Any help is appreciated. Even some references to look after might help.
Normally on Mac OS X LaunchD is parent of all the processes. So, LaunchD is launching them. How?? First it fork() and then posix_spawn().