Commit 1cbdda1e authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

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

Showing with 1 addition and 1 deletion
+1 -1
...@@ -276,7 +276,7 @@ class CommandLineSolver(AbstractSolver): ...@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment