I used C to write a cgi script to call the turbo pascal compiler to compile a pascal program.
When I used the above code, I get the following error message in the error log:
malformed header from script. Bad Header=Turbo Pacal Version 7.0 Copyright: [directory of the cgi]
I'm running the Apache server on a Windows XP system, but the error also occurs in win98.