diff --git a/otb/OTBAlgorithmProvider.py b/otb/OTBAlgorithmProvider.py index e1440b007a6cc883ba35b00df71ba5d302eecfd2..e2e00b5831e17fbad6930f18dfcddca273ed5fff 100644 --- a/otb/OTBAlgorithmProvider.py +++ b/otb/OTBAlgorithmProvider.py @@ -140,7 +140,7 @@ class OTBAlgorithmProvider(QgsProcessingProvider): first_line = '#!/bin/sh' export_cmd = 'export ' otb_app_launcher = os.path.join(v, 'bin', 'otbApplicationLauncherCommandLine') - cli_filepath = os.path.join(QgsApplication.qgisSettingsDirPath(), 'processing', 'qgis_otb_cli.sh') + cli_filepath = os.path.join(QgsApplication.qgisSettingsDirPath(), 'processing', 'qgis_otb_cli') if os.name == 'nt': first_line = '@echo off' export_cmd = 'set '