What do I need to do in order to get a custom arcpy script to save an execution run into the Results window, and/or just straight to an
.rlt file directly?
The script is run from the command line and isn't in a toolbox.
Motivation: I use results as documentation, to see what has been done in a particular project, and to recreate particular steps dynamically at will, confident that I will get the same outcome. Significant steps are saved as .rlt for future reference and re-use in other projects. I want to capture my non-toolbox scripts as well as model scripts in this manner as well as stock tools.