Is there a way to flush the buffer that nohup buffers stdout? From what I read in various places (eg. some place) is that I can modify the behaviour from within my programm. But that would be specific to each programm, and there are some where I would not want to mess with the code.
So I am looking for a general way to tell a 'nohuped' programm to flush stdout. Something on the commandline like
flush sdtout <PID>. Is there something like that? Or some sort of workaround?