On 2/3/10 11:05 AM, Phillip Oldham wrote:
>    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.

I think so.

- C


>
> Thanks!
>

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

Reply via email to