Commit a9de1218 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

Fixes #28 #29 encoding and env variables in subprocess call

This commits fixes encoding issue using getWindowsCodePage
from Grass7Utils.py

All method in OtbUtils are decorated as static and is now in OtbUtils
class.

Instead of writing a cli_file at startup, provider now pass all
required env_variables in subprocess.popen.

Logging of output from otbalgorithm and updating progress bar is
slightly updated to work with all otb versions.
Algoirthm is launched directly using otbApplicationLauncherCommandLine
`encoding` (on windows) and env arguments passed to subprocess is
logged in QgsMessageLog
parent f7fb2b4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment