site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jan 28, 2008, at 12:00 AM, Steve Checkoway wrote: On Jan 27, 2008, at 7:23 PM, Jordan K. Hubbard wrote: - Kevin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... In another couple of releases, posix_spawn(2) will also hopefully be far enough in our rear view mirrors that developers can standardize on it. I've been curious, what are the advantages to using posix_spawn(2) instead of fork(2) + execve(2)? posix_spawn(2) provides the performance benefit of vfork(2) + execve(2) while still allowing you to manipulate attributes of the child process that could not safely be done with vfork(2). And it's arguably a cleaner API for process creation (though that's more a matter of style). This email sent to site_archiver@lists.apple.com