I'm quite new in using ArcPy and have been struggling with it. I was trying to run a python script that has a loop containing the Topo to Raster tool. The code runs smoothly just until this tool is executed, and at this moment ArcMap suddenly shuts down without any message. After a couple of tests I discovered that the script runs smoothly with the background processing option activated, and the shutting down just occurs when it's deactivated. I just can't let the background processing option activated since the computational time would be too large for the purpouse of the script.
Anyone has already experienced this type of problem? Any tips of how to fix it?