[Gimp-user] Forking with exit main()

2009-01-23 Thread Kate Yoak
OK, so I have all the software I wanted. Gimp is awesome! This is what I will be doing to use Gimp in modperl: unless( fork()){ Gimp::on_net(\&do_stuff); }else{ wait(); find_the_generated_image(); finish_responding_to_web_request(); }; Is anything going to come out and bite me? _

Re: [Gimp-user] Forking with exit main()

2009-01-24 Thread Michael J. Hammel
On Fri, 2009-01-23 at 21:03 -0800, Kate Yoak wrote: > OK, so I have all the software I wanted. Gimp is awesome! > > This is what I will be doing to use Gimp in modperl: I may have missed earlier discussion on this, but are you using GIMP 2.6.x? If so, were did you get Gimp-Perl for it? I've tri

Re: [Gimp-user] Forking with exit main()

2009-01-24 Thread Kate T. Yoak
> I may have missed earlier discussion on this, but are you using GIMP > 2.6.x? If so, were did you get Gimp-Perl for it? I've tried the one > from the download site for 2.2 but it doesn't compile. Or is this the > net-fu package? > No, I am not. I am using 2.2 because I am running on CentOS

Re: [Gimp-user] Forking with exit main()

2009-01-24 Thread Kate T. Yoak
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