BT.remove_env

BT.remove_env

BT.remove_env

Function

deletes BT runtime environment variables and masks OS environment variables with the same name.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
nameStringYesNoneEnvironment variable name.

Return Value

TypeDescription
String/EmptyReturns the valid value before deletion; returns empty if it does not exist.

Examples

Notes

  • remove_env will write the deletion mark, causing subsequent BT.env(name) to return empty.
- This operation does not delete operating system permanent environment variables.