If you Right Mouse Button click on a .py file in your content browser, the script will run. Doesn’t matter if your intention was to copy or edit, as soon as your click, the script runs.
Also a little dangerous that double clicking with left mouse button on script executes it but at least that is more intentional.
This issue has been fixed internally. Please help verify the behavior after the Isaac Sim repository is updated, which should happen by the end of next week.
Closing — this was fixed internally and should be available in the Isaac Sim 6.0.0 DP2.
@daniel279 please verify when you get a chance. If the issue persists, please open a GitHub issue at Issues · isaac-sim/IsaacSim · GitHub and reference this topic so we can track it there.