Skip to content

Commit

Permalink
[processing] Add 'call' statements to SAGA batch file
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya authored and nyalldawson committed Mar 22, 2019
1 parent da6a378 commit e0a990d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/processing/algs/saga/SagaUtils.py
Expand Up @@ -109,7 +109,10 @@ def createSagaBatchJobFileFromSagaCommands(commands):
else:
pass
for command in commands:
fout.write('saga_cmd ' + command + '\n')
if isWindows():
fout.write('call saga_cmd ' + command + '\n')
else:
fout.write('saga_cmd ' + command + '\n')

fout.write('exit')

Expand Down

0 comments on commit e0a990d

Please sign in to comment.