Is there any way to get SPHARM-PDM output when running from cmd?

I’m having a problem where I have created a mac application that calls SPHARM-PDM and informs the user as files are created by reading the terminal output and searching for “CASE completed”, however, when trying to port to Windows this method no longer works.

When running SPHARM-PDM SlicerSALT from terminal using SPHARM-PDM.py on mac there is a number of lines generated such as:

"Model" Reader has successfully read the file CASE 0 took 0 sec to run All pipelines took 0 sec to run

However no such lines are generated when running from cmd prompt on Windows.

Is there any way to turn those lines on for Windows?

If not, what’s the best way to capture when a file has processed (so that an application that is calling SPHARM-PDM can inform the user as files are generated)?

Thanks for your help!

See how to get the console output on Windows for recent Slicer Preview Releases: https://slicer.readthedocs.io/en/latest/developer_guide/debugging/overview.html#console-output-on-windows