I am running a Perl script within an NSTask object with it s output going into an NSPipe. I am using notifications to receive it s output periodically and update the GUI.
The Perl script actually spawns other processes whose output doesn t seem to go into this pipe, but does appear in the debugger console and I can see them running there. When the other processes end and the main one resumes, the app starts to receive notifications from the pipe again.
Is it possible to get the output of these processes into the same pipe, or another which I can get notifications from?
Many thanks