Re: Using /dev/stdout in a sandboxed app
Bill Pitcher
looking back I went with
toggle quoted message
Show quoted text
//! Connect the Output Pipes [aTask setStandardOutput:[NSPipe pipe]]; [aTask setStandardError:[aTask standardOutput]]; //! Tell the Pipe to notify to read in the background and post a notification [[[aTask standardOutput] fileHandleForReading] readInBackgroundAndNotify]; then grab the data as it comes in. Cheers Bill On 9 Jul 2019, at 4:42 pm, Graham Cox <graham@...> wrote: |
|