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,6 +109,9 @@ def createSagaBatchJobFileFromSagaCommands(commands):
|
|||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
for command in commands:
|
for command in commands:
|
||||||
|
if isWindows():
|
||||||
|
fout.write('call saga_cmd ' + command + '\n')
|
||||||
|
else:
|
||||||
fout.write('saga_cmd ' + command + '\n')
|
fout.write('saga_cmd ' + command + '\n')
|
||||||
|
|
||||||
fout.write('exit')
|
fout.write('exit')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user