httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <p...@awe.com>
Subject Re: [Win32] CGI batch file problem?
Date Sun, 31 Jan 1999 12:57:57 GMT
On Sat, 30 Jan 1999, Marc Slemko wrote:
> On Sat, 30 Jan 1999, Paul Sutton wrote:
> > Erm, something seems to be up with CGI execution of batch files, unless
> > I'm doing something strange.
> 
> Why do you think the behaviour you are seeing is odd?
> 
> What you are probably getting from the .bat file is a blank line, then
> the output you see to the client.  A blank line terminates the CGI 
> headers, which happen to be empty.  The rest is what you should get.

Yeah, you are right, the blank line at the start of output is actually
part of the script output. I assumed it was part of the interactive shell.
So "echo" mode in a batch file doesn't just echo the commands, it also
echo a blank line before echoing each command to be executed.

Paul





Mime
View raw message