gorakhargosh/watchdog — pull request #272 by mouadino (2014-09-19 13:46:00+00:00)
Title: Pass WATCH_* variables as environment to subprocess

Passing WATCH_* variables as environment variables enable us to use any
shell command including for example executing a script, which extend the
way users can use the ShellCommandTrick and 'watchmedo shell-command ..'.

This change is backward incompatible because it change the way user
access variable passed to their shell command, instead of using python
template substitue (i.e. ${path}), they should use normal shell variable
refering (i.e. $path), this change also make the variable upper case to
make them fit with the norm of environment variables.