On Nov 11, 2008, at 12:47 AM, Ajay Gautam wrote:
Hi ,
I want to launch my webkit browser from my c code as following:
pId = fork();
if(pId)
{
execl("/GtkLauncher","sh","-c",NULL);
}
but its not launching .
Please can anybody tell me that where i am doing wrong?
Why are you passing "sh" for argv[0] and "-c" for argv[1]?
You should read the man page for execl and take a look at errno after
the failed call to execl. There's nothing particularly WebKit-
specific about this.
- Mark
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev