mirror of https://gitlab.com/pamhyr/pamhyr2
Solver: Log: Fix new line spliting (depend of OS).
parent
ba2fa25636
commit
1cbdda1ec5
|
|
@ -276,7 +276,7 @@ class CommandLineSolver(AbstractSolver):
|
||||||
s = self._process.readAll().data().decode('utf-8', "replace")
|
s = self._process.readAll().data().decode('utf-8', "replace")
|
||||||
|
|
||||||
if self._output is not None:
|
if self._output is not None:
|
||||||
for x in s.split('\n'):
|
for x in s.split(os.linesep):
|
||||||
self._output.put(x)
|
self._output.put(x)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger_exception(e)
|
logger_exception(e)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue