Hi, I don't really know anything about your actual problem, but thought I'd mention this: if ((pid = fork()) == 0) { execlp("pictwpstops", printer, argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], NULL); return (errno); This probably doesn't do what you think it does. If the exec() fails for any reason, *both* the parent and the child processes will return, which is unlikely to be what you wanted. If fork() succeeds and exec() fails, normally you terminate all code paths with en exit() so that the child cannot survive. Theoretically this could cause the problems you see, but in practice that's unlikely as it would imply that the exec() call is failing rather often. You might want to log the error from exec() though so you will notice if this is happening. Lassi -- To be or not to be? --Shakespeare To do is to be. --Sartre Do be do be do! --Sinatra _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.