Skip to main content

New answers tagged

13 votes

Why don't tail or cat display new content of a file to which another process is writing?

Python file writes are buffered, so even though you keep calling Python's write(), the underlying OS write() system call isn't called until the in-memory buffer fills, or the file is closed. If you ...
spikey_richie's user avatar

Top 50 recent answers are included