Logan Capaldo <logancapaldo / gmail.com> wrote:

> 
> What you probably need to do is split your script in twain, 1 that  
> sets up the environment and one that does the work, eg:
> 
> logan:/Users/logan/Projects/Ruby Experiments% cat env1.rb
> ENV["CUSTOM_ENV_VAR"] = "Hello"
> 
> exec("ruby env2.rb")
> logan:/Users/logan/Projects/Ruby Experiments% cat env2.rb
> puts "Custom ENV var is #{ENV["CUSTOM_ENV_VAR"]}"
> logan:/Users/logan/Projects/Ruby Experiments% ruby env1.rb
> Custom ENV var is Hello

ok, i see what u mean, i've done that with java to set, internaly, the
class path...

i need somehow an app launcher to setup the ENV correctly...
-- 
une bue