Temporarily set ENV variable for just one shell command?
Solution 1:
in Bash, you can do VERSIONER_PYTHON_PREFER_32_BIT=yes winpdb
and the env variable is set for the command. Same as you propose but without semi-colon.
Solution 2:
Run it in a subshell. so (export VERIONSER_PYTHONG_PREFER_32_BIT=YES; winpdb)