Execution an application on the CUPS filter.

rigel111 at naver.com rigel111 at naver.com
Thu Jan 6 18:04:02 PST 2005


Hi~

I'd like to execute some application like as safari at CUPS filter with Mac OS X 10.3.
In this case, can I use the "exec" family? Is it possible?
What should I do to execute applications?
I tried to use below code. But it didn't work.

...

pid = fork();

if(pid == 0)
{
    execv("./Applications/Safari", NULL);
}

// do remained codes
...

Would you tell me what's wrong?

Is there anyone who knows the solution please help me.

Regars,




More information about the cups mailing list