Skip to content

Commit b41b6df

Browse files
backporting[bot]nyalldawson
authored andcommitted
[processing] Add 'call' statements to SAGA batch file
1 parent e880db5 commit b41b6df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/plugins/processing/algs/saga/SagaUtils.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ def createSagaBatchJobFileFromSagaCommands(commands):
109109
else:
110110
pass
111111
for command in commands:
112-
fout.write('saga_cmd ' + command + '\n')
112+
if isWindows():
113+
fout.write('call saga_cmd ' + command + '\n')
114+
else:
115+
fout.write('saga_cmd ' + command + '\n')
113116

114117
fout.write('exit')
115118

0 commit comments

Comments
 (0)