Feature request: when using addenv
, allow "FOOBAR" => nothing
to delete the FOOBAR
environment variable
#43562
Labels
feature
Indicates new feature / enhancement requests
When using the
withenv
function, I can pass"FOOBAR" => nothing
in order to delete theFOOBAR
environment variable:However, currently, I cannot use the same syntax to delete an environment variable when using the
addenv
function:I think it would be nice if
run(addenv(cmd, "FOOBAR" => nothing))
deleted theFOOBAR
environment variable when running the command, instead of the current behavior (in which it sets the value of theFOOBAR
environment variable to a string with the contents "nothing").The text was updated successfully, but these errors were encountered: