mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update a log file in TeePopen on write
This commit is contained in:
parent
1a1996f318
commit
99976a476b
@ -99,6 +99,7 @@ class TeePopen:
|
||||
for line in self.process.stdout:
|
||||
sys.stdout.write(line)
|
||||
self.log_file.write(line)
|
||||
self.log_file.flush()
|
||||
|
||||
return self.process.wait()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user