I am current converting one of old perl programs into python and have come
up against a problem. How do you set environment variables that can be used
by commands invoked with posix.popen() ?
In perl all I had to do was:
$ENV{"FRED"} = "bert";
print `printenv FRED`;
What is the solution in python?
Many Thanks In Advance
-- Kevan