[execnet-dev] adding env option to xspec

Jakub Gustak jgustak at gmail.com
Thu Jun 24 14:30:00 CEST 2010


Hello,

I need to specify some ENV variable when running a sub-process (this
case for xdist). AFAIK there is no support for such feature.

I do a workaround by popen//python=./python_with_env where
./python_with_env does specify required ENV.

It would be nice to have xspec env option (e.g. popen//env='VAR1=value
VAR2=value' ).

I can fry up a patch for this functionality if you consider it a
feature worth inclusion.

Cheers,
Jakub Gustak



More information about the execnet-dev mailing list