> Why you don't read the script and then call rb_eval_string_protect(), or > rb_eval_string_wrap() (with rb_protect()) > > You will have only one call to ruby_init() and no call to ruby_run() > > Guy Decoux Well, I didn't know that those functions existed! I only read a little the README.ext file wich shortly gave four functions (ruby_init(), ruby_run()...). Thank you very much for your help, I'll have a close look at it... And I'll probably produce a HOWTO to help Ruby embedders :) - Olivier CARRERE