Search Results

Search: Posts Made By: Tieso
2,375
Posted By Tieso
Thank you very much, this is the problem! It...
Thank you very much, this is the problem!
It can be solved adding a flush() method after the prints you want to flush:
import sys
sys.stdout.flush()

Adding a flush() class like this:
class...
2,375
Posted By Tieso
Thanks for response but this don't works. I see...
Thanks for response but this don't works.
I see the log file with "ls -l" that the file is 0KB until the program finish and then is full of all information.
2,375
Posted By Tieso
[solved] How to see log in real time?
Hi people

I have a bash script with a line like this:

python example.py >> log &

But i can't see anything in the log file while python program is running only if the program ends seems to...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy