Isaac Sim comes with nice buttons. And now the people want to use Isaac Sim and Isaac Lab but also do not want to use Isaac Sim and Isaac Lab want to start a RL training process in Isaac Sim. My idea is to call sys.exit(1) when user click that train button. My question is: Is there a better way to exit Isaac Sim than sys.exit(1)?
Thank you for your response. Yes, I want to quit Isaac Sim when start training in Isaac Lab. I am using python subprocess library in python to launch the training script when user click a button. After calling subprocess, I need to close Isaac Sim.