Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
You probably want to use NSTasks, with NSPipes and NSFileWrappers to do bi-directional communication, if required. Have a look at the docs for those and I think there's some example code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.