Is that possible?
Use NSTask. You can find some simple examples of using it here: http://borkware.com/quickies/one?topic=nstask