Report
systemd-run with Python: log file stays empty due to stdout buffering
1cc1e828-802e-4809-96da-2822bf8ff805
When launching a Python script via systemd-run --user with StandardOutput=append:/path/to/file, the log file remains at 0 bytes even though the process is actively running and consuming memory/CPU. All print() output is buffered and never reaches the file during the run.