Are there any commands to check the status/value of environment variables in Workbench?
Here's an example script to check on the assigned value, if any, of environment variables in Workbench:
import os # Replace 'MY_ENV_VAR' with the name of your environment variable env_var_name = 'MY_ENV_VAR' env_value = os.getenv(env_var_name) if env_value is not None: txt = str(env_var_name) + ' is set to: ' + str(env_value) print(txt) else: txt = str(env_var_name)+ ' is not set.' print(txt)