Skip to content

Commit 131efbd

Browse files
authored
Merge pull request #6367 from slarosa/fix_saga_osx
[processing] fix execution of SAGA algorithms under macos
2 parents f93dc90 + 4c95b6b commit 131efbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def executeSaga(feedback):
169169
else:
170170
os.chmod(sagaBatchJobFilename(), stat.S_IEXEC |
171171
stat.S_IREAD | stat.S_IWRITE)
172-
command = [sagaBatchJobFilename()]
172+
command = ["'" + sagaBatchJobFilename() + "'"]
173173
loglines = []
174174
loglines.append(QCoreApplication.translate('SagaUtils', 'SAGA execution console output'))
175175
with subprocess.Popen(

0 commit comments

Comments
 (0)