Solver: Log: Fix new line spliting (depend of OS).

setup.py
Pierre-Antoine Rouby 2024-04-17 14:46:17 +02:00
parent ba2fa25636
commit 1cbdda1ec5
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ class CommandLineSolver(AbstractSolver):
s = self._process.readAll().data().decode('utf-8', "replace")
if self._output is not None:
for x in s.split('\n'):
for x in s.split(os.linesep):
self._output.put(x)
except Exception as e:
logger_exception(e)