kopia lustrzana https://github.com/jupyterhub/repo2docker
utils.execute_cmd flush buffer if no EOL
rodzic
8d490cf9d8
commit
57593936f0
|
@ -50,6 +50,8 @@ def execute_cmd(cmd, capture=False, **kwargs):
|
|||
if c == b"\n":
|
||||
yield flush()
|
||||
c_last = c
|
||||
if buf:
|
||||
yield flush()
|
||||
finally:
|
||||
ret = proc.wait()
|
||||
if ret != 0:
|
||||
|
|
Ładowanie…
Reference in New Issue