I have a Python script that runs a shell command on a remote server (using the Fabric module). When I run the tool in the debugger, I see all the output scrolling, as the command can take hours to run. I have created an ArcMap tool to run from the ArcToolbox, but I cannot see the progression of the shell command's output. The geoprocessing window just stays open until finished. Is there anyway to send the shell output to the geoprocessing window in real time?
When you created your script tool you would have gone through that wizard to wire up your script to a tool interface. At the stage where you point it to the script python file (.py) there is a check box which is usually un-ticked which is Show command window when executing script, try ticking that on.