I'm doing print statements in python. I'm executing my script like so:
python script.py > out.log nohup &
The print statements are not all showing up in out.log
but the program is finishing ok.
That line of code is in an .sh
file
I execute by doing ./script.sh
Update: The log does get all the data but not until a certain # of lines are printed. It would appear to be buffering the output.