I would to run this command in images below via CMD also without opening QGIS GUI on Windows 10
I added "C:\Program Files\QGIS 3.28.2\bin\qgis_process-qgis.bat" to PATH then run my command into QGIS to be sure that everything is okay, the algorithm run until end with expected result without problems, I copied the command from QGIS then closed QGIS and paste that copied command in PowerShell them it doesn't work (see below the images).
The copied command:
qgis_process-qgis.bat run grass7:r.horizon --distance_units=meters --area_units=m2 --ellipsoid=EPSG:7030 --elevation='C:/Users/admin/Downloads/OpenTopography/Biggest_LB_SRTMGL3.tif' --step=10 --start=0 --end=360 --distance=1 ---d=true ---c=true --output='C:\Users\admin\Downloads\tempo' --GRASS_REGION_PARAMETER='35.000000000,37.000000000,33.000000000,35.000000000 [EPSG:4326]' --GRASS_REGION_CELLSIZE_PARAMETER=0
I changed only qgis_process
to qgis_process-qgis.bat
, I am running QGIS 3.8.28 (Firenze) on Windows 10
.bat
file doesn't belong in the PATH, just the parent directory.