replaces NSTask with syscalls

[fixes #80]
Merge pull request #81 from jeremy-w/replaces-nstask-with-syscalls-80

replaces NSTask with syscalls