mozilla-services/circus — pull request #303 by Juvenal1228 (2012-11-06 03:11:39+00:00)
Title: Easier way to specify many environment variables

```
[watcher:worker]
cmd = ping
args = 127.0.0.1
env = PATH=$PATH:~/bin,PYTHONPATH=$PYTHONPATH:~/pythonpath,OTHER_ENV_VAR=other_value
```
that could go on and on if you need to specify complex environments for processes, and it becomes harder to read.

something like this seems nicer to me
```
[watcher:worker]
cmd = ping
args = 127.0.0.1

[env:worker]
PATH=$PATH:~/bin
PYTHONPATH=$PYTHONPATH:~/pythonpath
OTHER_ENV_VAR=other_value
```

these also seem like good solutions to me as well
```
[watcher:worker:env]
...
```
```
[watcher:worker]
env = envsection

[envsection]
...
```

something like the last one would be nice because it would allow you to specify one environment and use it for multiple watchers