Gina Häußge
7ae6240de2
Make CommandLineCaller use unicode instead of bytes
...
p.(stdout|stderr).text is unicode. p.(stdout|stderr).readline isn't, so decode
manually.
Should hopefully solve #1586 for good now...
2016-11-15 17:26:11 +01:00
MirceaDan
c33a9f9aa2
from __future__ import absolute_import, division, print_function
...
changed the behavior to import division and print to be consistent
across all app and similar with python 3.x
2016-07-15 00:16:58 -07:00
Gina Häußge
eacd9f7b66
Always read all available lines from stdout and stderr
...
Should produce faster output.
2016-02-11 10:37:56 +01:00
Gina Häußge
f07e3d9f2d
Fixed output processing for pip processes
2016-02-11 09:55:44 +01:00
Gina Häußge
910d965ede
Merge branch 'fix/stripAnsiFromPipOutput' into devel
...
Conflicts:
src/octoprint/util/pip.py
2016-02-09 14:39:34 +01:00
Gina Häußge
6f24a2b6c5
New helper CommandlineCaller
...
Wraps sarge and allows asynchronous execution of commands incl. logging
to provided logging methods for stdout, stderr and command calls.
Refactored PipCaller to utilized that.
2015-07-03 13:56:31 +02:00