• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask argument list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask argument list


  • Subject: Re: NSTask argument list
  • From: Graham Cox <email@hidden>
  • Date: Sun, 26 Jun 2016 15:29:15 +1000

> On 26 Jun 2016, at 3:22 PM, email@hidden wrote:
>
> If it helps, you can think of it  as an object oriented wrapped around C system calls that keeps track of PID and all the other bits like stdout and so on.
> That helps to grok why the args is and array and the tool is separate.


Yep, it makes perfect sense, and is a good fit for my needs.

A follow up question, but this may be something that I’ll just have to grok from the ffmpeg documentation - is there a way to get feedback from the ffmpeg tool while it’s running, via NSTask? It writes a log to stderr, and there are settings to control how verbose that is, but it would be necessary to parse the text output to look for specific things. I need to know whether the input stream has finished, or how big the output file has become. The latter I may be able to do by looking at the file itself, not sure about the first bit.

—Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTask argument list
      • From: Sandor Szatmari <email@hidden>
References: 
 >NSTask argument list (From: Graham Cox <email@hidden>)
 >Re: NSTask argument list (From: Marco S Hyman <email@hidden>)
 >Re: NSTask argument list (From: Graham Cox <email@hidden>)
 >Re: NSTask argument list (From: email@hidden)

  • Prev by Date: Re: NSTask argument list
  • Next by Date: Re: NSTask argument list
  • Previous by thread: Re: NSTask argument list
  • Next by thread: Re: NSTask argument list
  • Index(es):
    • Date
    • Thread