Konubinix' opinionated web of thoughts

Get the Log of a Python Subprocess in Supervisord


python - Why does stdout not flush when connecting to a process that is run with supervisord? - Stack Overflow

start the base python process in an unbuffered state using the -u flag. Within the supervisord.conf file it simply becomes:

command=python -u script.py