ochameau/jetpack-subprocess — pull request #3 by mykmelez (2012-09-27 19:26:20+00:00)
Title: Env display

> Yes, that's a good idea as it is a really common pitfall.
> What about setting `environnement` argument to `{DISPLAY:env.DISPLAY}` when no `environnement` argument is given, and `env.DISPLAY` exists?

That's a good idea! Although I think we should set DISPLAY even if the `env` option is given, provided it doesn't contain `DISPLAY`, because otherwise folks who use the API will suddenly experience bustage the moment they specify `env`, and it won't be clear why.

But here's the simpler version anyway.