[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Flushing all Buffers Before Exiting



On 2019-03-21, <tomas@tuxteam.de> <tomas@tuxteam.de> wrote:
>
>
> On Thu, Mar 21, 2019 at 10:32:06AM -0400, Kenneth Parker wrote:
>> Have you tried the Command Line:   "sync"?
>
> That won't help in the OP's case, I think: sync is about writing out
> the operating system's buffers to the file system. In the OP's case
> it's about the process's I/O buffers which haven't yet gone to the
> operating system.

I'm reading a pty app won't buffer (script, screen, etc.).

And then there's a program called 'unbuffer'?

> Cheers


-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves


Reply to: