mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[processing] Add 'call' statements to SAGA batch file
This commit is contained in:
parent
da6a3786e2
commit
e0a990d997
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user