Skip to content

Commit 4c95b6b

Browse files
committed
[processing] fix execution of SAGA algorithms under macos
1 parent f31ba78 commit 4c95b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)