in reply to PLEASE HELP! How to make an exe file be executed on server through a cgi file?
See Suffering from Buffering and take note when it says to set $| = 1.