Best way to unset Env Var in Task?

I’d like to unset env vars in my Task environment (actually remove them), but SetProcessEnvironmentVariable seems to only be able to set them to an empty string. What’s the best way to do this?

Hi Chris,

Did you find a solution ?