replaces NSTask with syscalls

[fixes #80]