hexagon logo

How to disable warning messages when running a cmd script

I'm running a model merge cmd script and during the execution I receive a Warning pop-up explaining that the two ground parts do not have the same material types and asks if I want to continue. How do I disable this dialog to continue processing without manually pressing continue.
Thanks