mirror of
https://github.com/codingo/Interlace.git
synced 2026-02-22 23:34:39 +01:00
Merge pull request #90 from codingo/new-line-printing-patch
New line printing patch
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = '1.7.3'
|
||||
__version__ = '1.7.4'
|
||||
|
||||
@@ -49,7 +49,9 @@ class Task(object):
|
||||
def _run_task(self, t=False):
|
||||
if t:
|
||||
s = subprocess.Popen(self.task, shell=True, stdout=subprocess.PIPE)
|
||||
t.write(s.stdout.readline().decode("utf-8"))
|
||||
out = s.stdout.readline().decode("utf-8")
|
||||
if out != "":
|
||||
t.write(out)
|
||||
else:
|
||||
subprocess.Popen(self.task, shell=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user