in3Utils.MoTUtils.runAndCheckMoT
- runAndCheckMoT(command)[source]
Execute MoT command and monitor its output.
This function runs a MoT command as a subprocess and monitors its output, filtering and logging specific messages while tracking time steps.
- Parameters
command (str or list) – The command to execute. Can be a string or list of arguments.
- Returns
Function runs the command and logs output but does not return a value.
- Return type
None
Notes
Uses different shell settings based on operating system
Filters output to reduce noise from common status messages
Logs time step progress every 100 steps
Handles UTF-8 encoding with replacement of invalid characters