@@ -261,6 +261,7 @@ def executeGrass7(commands, progress, outputCommands=None):
261
261
loglines .append (Grass7Utils .tr ('GRASS GIS 7 execution console output' ))
262
262
grassOutDone = False
263
263
command , grassenv = Grass7Utils .prepareGrass7Execution (commands )
264
+ print ('Debug: executeGrass7\n ---------------\n commands: {}\n \n command: {}\n \n env: {}' .format (commands , command , grassenv ))
264
265
proc = subprocess .Popen (
265
266
command ,
266
267
shell = True ,
@@ -271,6 +272,7 @@ def executeGrass7(commands, progress, outputCommands=None):
271
272
env = grassenv
272
273
).stdout
273
274
for line in iter (proc .readline , '' ):
275
+ print (line )
274
276
if 'GRASS_INFO_PERCENT' in line :
275
277
try :
276
278
progress .setPercentage (int (line [len ('GRASS_INFO_PERCENT' ) + 2 :]))
@@ -290,6 +292,8 @@ def executeGrass7(commands, progress, outputCommands=None):
290
292
291
293
if not grassOutDone and outputCommands :
292
294
command , grassenv = Grass7Utils .prepareGrass7Execution (outputCommands )
295
+ print ('Debug: executeGrass7 outputCommands\n =============\n commands: {}\n \n command: {}\n \n env: {}' .format (commands , command , grassenv ))
296
+
293
297
proc = subprocess .Popen (
294
298
command ,
295
299
shell = True ,
@@ -300,6 +304,7 @@ def executeGrass7(commands, progress, outputCommands=None):
300
304
env = grassenv
301
305
).stdout
302
306
for line in iter (proc .readline , '' ):
307
+ print (line )
303
308
if 'GRASS_INFO_PERCENT' in line :
304
309
try :
305
310
progress .setPercentage (int (
0 commit comments