• 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: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__


  • Subject: Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
  • From: David Duncan <email@hidden>
  • Date: Sun, 05 Apr 2009 13:19:04 -0700

On Apr 5, 2009, at 12:46 PM, Ashley Allen wrote:

I am forking a process from a cgi-script to convert a .caff file into an aiff file and mp3. I am using the afconvert utility that ships with core audio sdk to do the conversion. I keep running into the error in the subject line. Is there a recommended way to execute scripts that use core foundation and core audio from within cgi?


Almost every Mac OS X framework assumes that you are going to exec() after you fork. I would assume that your using Core Foundation to prepare the command line parameters, so you would just do that before the fork.

Of course, it would probably be more efficient to use the API instead of launching afconvert to do the work, so you might want to consider doing that instead.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ (From: Ashley Allen <email@hidden>)

  • Prev by Date: Re: Newbie questions
  • Next by Date: Re: Newbie questions
  • Previous by thread: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
  • Next by thread: Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
  • Index(es):
    • Date
    • Thread