launch.actions.reset_environment module
Module for the ResetEnvironment action.
- class launch.actions.reset_environment.ResetEnvironment[source]
Bases:
ActionAction that resets the environment in the current context.
Clears any changes made by previous actions to the context environment. The environment is reset to the state it was in when the context was created, i.e. the contents of
os.environ.- execute(context: LaunchContext)[source]
Execute the action.