FS#775 - Flush stdout for dedicated server

Attached to Project: OpenTTD
Opened by Leif Linse (Zuu) - Thursday, 10 May 2007, 14:52 GMT
Type Patch
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch make OpenTTD flush stdout whenever it outputs something to stdout in dedicated server mode.

This patch is useful if you want to write a program (an autopilot) that executes OpenTTD, and then speaks with OpenTTD using stdout/stdin. Without this patch the autopilot will receive the output from OpenTTD _after_ OpenTTD have exited.
This task depends upon

Closed by  Patric Stout (TrueBrain)
Saturday, 23 June 2007, 14:40 GMT
Reason for closing:  Implemented
Additional comments about closing:  Added in r10295