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
backporting[bot] authored and nyalldawson committed Mar 22, 2019
1 parent 5dd29ee commit af7c3eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/processing/algs/saga/SagaUtils.py
Original file line number Diff line number Diff line change
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 af7c3eb

Please sign in to comment.