I have generated a script where all the .dtm files in a directory will be translated into .tif in another directory.
The issue here is that in some computers, a window appears after each iteration asking for projection (even if the tif file is not added to the canvas) and the process stops until you close that window.
I guess it must be something to do in order to avoid this window appearance, almost during an script execution.
I use to work with qgis 2.18.12