FCP start external application from plug-in
FCP start external application from plug-in
- Subject: FCP start external application from plug-in
- From: Dan Valentin <email@hidden>
- Date: Fri, 4 May 2007 02:03:45 -0700 (PDT)
Hi,
I've tried to start an external application from a Final Cut Pro plug-in and, although the code compiles just fine, all the parameters are ok and FCP loads the plug-in without complaints, it will start the application ONLY if I use the:
[[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/MyApp.app"];
Is there any reason why I can't start it as a task (NSTask) and capture its output? Also if I try to use the standard C approach with fork() ...execX(...) then pid = fork() will always return pid == -1 .
The problem is that I really need to pass to MyApp a callback function as a parameter and the "launchApplication" function doesn't really have any room for parameters :(
So I guess my question would be: is there a logical explanation? ... other than that I simply messed up and need to check my code again :)
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden