[Gimp-user] Forking with exit main()

Kate T. Yoak kate at yoak.com
Sat Jan 24 10:26:16 PST 2009


For posterity: this worked beautifully, with one modification:
> This is what I will be doing to use Gimp in modperl:
>
> unless( fork()){
>  Gimp::on_net(\&do_stuff);

CORE::exit main()
> }else{
>    wait();
>    find_the_generated_image();
>    finish_responding_to_web_request();
> };
>
The only problem with the whole thing is that I have to write a file to 
disk in order to pass the data to gimp. Nothing too terribly wrong with 
that, but it does feel a little silly!  :-)



More information about the Gimp-user mailing list