From: denis mahony Date: 2009-04-30T10:15:04+09:00 Subject: Re: BJ and env hash * Update II * I abandoned the attampt to use the Bj.submit :env switch to pass values to the background task in bj. I just could not figure how to extract/use the values passed as YAML (?) in ENV to the task. I wonder if anybody has successfuly used it ? Is it broken ? I'm now using the command line parameters, in the foreground process . viz, Bj.submit "./script/runner ./script/simple_prawn_script.rb # {@this_user}" I can now access the passed value in the worker using this expression: @this_user = ARGV[0]. Bj rocks :) Regards Denis