Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
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