From the manual:

> environment:
> A list of key/value pairs in the form |KEY=val,KEY2=val2|that will be 
> placed in the child process' environment. The environment string may 
> contain Python string expressions that will be evaluated against a 
> dictionary containing "process_num", "program_name", "group_name" and 
> "here" (the directory of the supervisord config file). **Note** that 
> the subprocess will inherit the environment variables of the shell 
> used to start "supervisord" except for the ones overridden here. See 
> "Subprocess Environment" elsewhere.

Would it be possible to have the "directory" parameter added to that 
dictionary? Its extreamily handy for working with Java processes when 
you need to set environment variables to specific .jar files.

Thanks!

-- 

*Phillip B Oldham*
ActivityHQ
[email protected] <mailto:[email protected]>

------------------------------------------------------------------------

*Policies*

This e-mail and its attachments are intended for the above named 
recipient(s) only and may be confidential. If they have come to you in 
error, please reply to this e-mail and highlight the error. No action 
should be taken regarding content, nor must you copy or show them to anyone.

This e-mail has been created in the knowledge that Internet e-mail is 
not a 100% secure communications medium, and we have taken steps to 
ensure that this e-mail and attachments are free from any virus. We must 
advise that in keeping with good computing practice the recipient should 
ensure they are completely virus free, and that you understand and 
observe the lack of security when e-mailing us.

------------------------------------------------------------------------
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to