Re: Using /dev/stdout in a sandboxed app


Graham Cox
 

Ah, that worked a treat!!! Thanks so much Sandor.

—Graham




On 9 Jul 2019, at 9:21 pm, Sandor Szatmari <admin.szatmari.net@...> wrote:

I think you would pass

-progress pipe:1 will write out to stdout, 

Or

pipe:2 to stderr.

Then just read from the pipe you associate.

I haven’t tried it myself, google told me to do it.

It might mess up your parsing if other messages are interspersed in the progress messages, but hopefully you can distinguish between the two types of information.  


Sandor

Join cocoa@apple-dev.groups.io to automatically receive all group messages.