Is there any way to force the flushing of the screen buffer to the logfile? I want to execute a command and immediately after, get the logfile and check the result of the command.
I know I can set the logfile to be flushed every second with the logfile flush 1 command
But I am looking for something like doFlush. or similar...